4 #include "LUrlParser.h"
7 using LUrlParser::clParseURL
;
11 clParseURL URL
= clParseURL::ParseURL( "https://John:Dow@github.com:80/corporateshark/LUrlParser/?&query=ssl#q=frag" );
15 cout
<< "Scheme : " << URL
.m_Scheme
<< endl
;
16 cout
<< "Host : " << URL
.m_Host
<< endl
;
17 cout
<< "Port : " << URL
.m_Port
<< endl
;
18 cout
<< "Path : " << URL
.m_Path
<< endl
;
19 cout
<< "Query : " << URL
.m_Query
<< endl
;
20 cout
<< "Fragment : " << URL
.m_Fragment
<< endl
;
21 cout
<< "User name : " << URL
.m_UserName
<< endl
;
22 cout
<< "Password : " << URL
.m_Password
<< endl
;
26 cout
<< "Parsing error: " << URL
.m_ErrorCode
<< endl
;