19 #ifndef CORE_NET_URI_H_
20 #define CORE_NET_URI_H_
40 typedef std::vector<std::string>
Path;
CORE_NET_DLL_PUBLIC Uri make_uri(const Uri::Host &host, const Uri::Path &path=Uri::Path(), const Uri::QueryParameters &query_parameters=Uri::QueryParameters())
Build a URI from its components.
The Uri class encapsulates the components of a URI.
Host host
The host is the first part of the URI, including the protocol.
QueryParameters query_parameters
The CGI query parameters as ordered key-value pairs.
std::vector< std::pair< std::string, std::string > > QueryParameters
std::vector< std::string > Path
Path path
the path components
#define CORE_NET_DLL_PUBLIC