18 Url(
const std::string& url);
This class parses a string with the url.
std::string path
Path part of an url including preceding '/' char. Example: /index.html.
std::string protocol
Protocol part of an url. Example: https://.
std::string query
Query part of an url without '?' char. Example: a=1&b=2&c=3.
Url(const std::string &url)
std::string host
Host part of an url. Example: www.example.com.
std::string fragment
Fragment part of an url without '#' char. Example: section1.