/cpp_uriparser

C++ wrapper for uriparser lib

Primary LanguageShellMIT LicenseMIT

С++ header-only library to parse urls, traverse through url parts, queries. cpp_uriparser is C++ wrapper for c uriparser library.

Features

C++ wrapper for uriparser have next features:

  • Iterator for path
  • Iterator for query
  • One implementation supports both ANSI & Unicode

Dependencies

Sample usage

  1. Sample shows hot to iterate through paths:
auto parsedUrl = uri_parser::UriParseUrl("https://github.com/azerg/cpp_uriparser/blob/master/README.md");
auto pathHead = parsedUrl.PathHead();
for ( auto pathIt : pathHead )
{
    std::cout << pathIt->c_str() << std::endl;
}

License

MIT