1 **Lightweight URL & URI parser (RFC 1738, RFC 3986)**
3 (C) Sergey Kosarevsky, 2015
5 @corporateshark sk@linderdaum.com
7 http://www.linderdaum.com
9 http://blog.linderdaum.com
11 =============================
13 A tiny and lightweight URL & URI parser (RFC 1738, RFC 3986) written in C++.
15 =============================
19 using LUrlParser::clParseURL;
21 clParseURL URL = clParseURL::ParseURL( "https://John:Dow@github.com:80/corporateshark/LUrlParser" );
25 cout << "Scheme : " << URL.m_Scheme << endl;
26 cout << "Host : " << URL.m_Host << endl;
27 cout << "Port : " << URL.m_Port << endl;
28 cout << "Path : " << URL.m_Path << endl;
29 cout << "Query : " << URL.m_Query << endl;
30 cout << "Fragment : " << URL.m_Fragment << endl;
31 cout << "User name : " << URL.m_UserName << endl;
32 cout << "Password : " << URL.m_Password << endl;
35 =============================