The Uri class encapsulates the components of a URI.
More...
#include <uri.h>
|
typedef std::string | Host |
|
typedef std::vector< std::string > | Path |
|
typedef std::vector< std::pair< std::string, std::string > > | QueryParameters |
|
The Uri class encapsulates the components of a URI.
Definition at line 36 of file uri.h.
§ Host
Definition at line 38 of file uri.h.
§ Path
Definition at line 40 of file uri.h.
§ QueryParameters
Definition at line 42 of file uri.h.
§ host
Host core::net::Uri::host |
The host is the first part of the URI, including the protocol.
e.g.
Definition at line 52 of file uri.h.
§ path
Path core::net::Uri::path |
the path components
e.g.
Definition at line 62 of file uri.h.
§ query_parameters
The CGI query parameters as ordered key-value pairs.
e.g.
{{"key1", "value1"}, {"key2", "value2"}}
Definition at line 72 of file uri.h.
The documentation for this struct was generated from the following file:
- /build/net-cpp-PqjjHz/net-cpp-2.2.0+17.04.20161108.2/include/core/net/uri.h