HTP
0.3
|
#include <htp.h>
Data Fields | |
bstr * | scheme |
bstr * | username |
bstr * | password |
bstr * | hostname |
bstr * | port |
int | port_number |
bstr * | path |
bstr * | query |
bstr * | fragment |
URI structure. Each of the fields provides access to a single URI element. A typical URI will look like this: http://username:password@hostname.com:8080/path?query#fragment.
bstr* htp_uri_t::fragment |
Fragment identifier
bstr* htp_uri_t::hostname |
Hostname
bstr* htp_uri_t::password |
Password
bstr* htp_uri_t::path |
The path part of this URI
bstr* htp_uri_t::port |
Port, as string
int htp_uri_t::port_number |
Port, as number, but only if the port is valid.
bstr* htp_uri_t::query |
Query string
bstr* htp_uri_t::scheme |
Scheme
bstr* htp_uri_t::username |
Username