\hypertarget{structhtp__uri__t}{\section{htp\-\_\-uri\-\_\-t Struct Reference} \label{structhtp__uri__t}\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}} } {\ttfamily \#include $<$htp.\-h$>$} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_a8c36a8bd73584ee5f2479aeb62ab6be7}{scheme} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_ad66eead95cc67ebb9f5952643e8eb72e}{username} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_a9dbe72d7b3050f30c2e18cc5bb5f06d0}{password} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_afd392af577253b3b3613a10b3766f504}{hostname} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_a48cc82a0a83aa5d91e9928b4f012bd78}{port} \item int \hyperlink{structhtp__uri__t_a47c71ba08e23ead4aa38c81f853c9138}{port\-\_\-number} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_a08858fedcb3a6df8d8cd500aed71d9eb}{path} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_ab390df0fcf89c67f9e3c2076d222ad74}{query} \item \hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{structhtp__uri__t_a269bbfa8c971285f664c000b6ad8909b}{fragment} \end{DoxyCompactItemize} \subsection{Detailed Description} U\-R\-I structure. Each of the fields provides access to a single U\-R\-I element. Where an element is not present in a U\-R\-I, the corresponding field will be set to N\-U\-L\-L or -\/1, depending on the field type. \subsection{Field Documentation} \hypertarget{structhtp__uri__t_a269bbfa8c971285f664c000b6ad8909b}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!fragment@{fragment}} \index{fragment@{fragment}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{fragment}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::fragment}}\label{structhtp__uri__t_a269bbfa8c971285f664c000b6ad8909b} Fragment identifier. This field will rarely be available in a server-\/side setting, but it's not impossible to see it. \hypertarget{structhtp__uri__t_afd392af577253b3b3613a10b3766f504}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!hostname@{hostname}} \index{hostname@{hostname}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{hostname}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::hostname}}\label{structhtp__uri__t_afd392af577253b3b3613a10b3766f504} Hostname. \hypertarget{structhtp__uri__t_a9dbe72d7b3050f30c2e18cc5bb5f06d0}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!password@{password}} \index{password@{password}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{password}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::password}}\label{structhtp__uri__t_a9dbe72d7b3050f30c2e18cc5bb5f06d0} Password. \hypertarget{structhtp__uri__t_a08858fedcb3a6df8d8cd500aed71d9eb}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!path@{path}} \index{path@{path}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{path}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::path}}\label{structhtp__uri__t_a08858fedcb3a6df8d8cd500aed71d9eb} The path part of this U\-R\-I. \hypertarget{structhtp__uri__t_a48cc82a0a83aa5d91e9928b4f012bd78}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!port@{port}} \index{port@{port}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{port}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::port}}\label{structhtp__uri__t_a48cc82a0a83aa5d91e9928b4f012bd78} Port, as string. \hypertarget{structhtp__uri__t_a47c71ba08e23ead4aa38c81f853c9138}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!port\-\_\-number@{port\-\_\-number}} \index{port\-\_\-number@{port\-\_\-number}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{port\-\_\-number}]{\setlength{\rightskip}{0pt plus 5cm}int htp\-\_\-uri\-\_\-t\-::port\-\_\-number}}\label{structhtp__uri__t_a47c71ba08e23ead4aa38c81f853c9138} Port, as number. This field will contain H\-T\-P\-\_\-\-P\-O\-R\-T\-\_\-\-N\-O\-N\-E if there was no port information in the U\-R\-I and H\-T\-P\-\_\-\-P\-O\-R\-T\-\_\-\-I\-N\-V\-A\-L\-I\-D if the port information was invalid (e.\-g., it's not a number or it falls out of range. \hypertarget{structhtp__uri__t_ab390df0fcf89c67f9e3c2076d222ad74}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!query@{query}} \index{query@{query}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{query}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::query}}\label{structhtp__uri__t_ab390df0fcf89c67f9e3c2076d222ad74} Query string. \hypertarget{structhtp__uri__t_a8c36a8bd73584ee5f2479aeb62ab6be7}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!scheme@{scheme}} \index{scheme@{scheme}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{scheme}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::scheme}}\label{structhtp__uri__t_a8c36a8bd73584ee5f2479aeb62ab6be7} Scheme, e.\-g., \char`\"{}http\char`\"{}. \hypertarget{structhtp__uri__t_ad66eead95cc67ebb9f5952643e8eb72e}{\index{htp\-\_\-uri\-\_\-t@{htp\-\_\-uri\-\_\-t}!username@{username}} \index{username@{username}!htp_uri_t@{htp\-\_\-uri\-\_\-t}} \subsubsection[{username}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-uri\-\_\-t\-::username}}\label{structhtp__uri__t_ad66eead95cc67ebb9f5952643e8eb72e} Username. The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} \item \hyperlink{htp_8h}{htp.\-h}\end{DoxyCompactItemize}