ResourceResolver;
46 voidsetQueryParameter(std::string
const&name, std::string
const&value);
47 voidresetPathParameters();
48 voidsetPathParameter(
size_tidx, std::string
const&val);
52std::vector<std::string> _pathParams;
54std::vector<std::pair<std::string, std::string>> _queryParams;
bool getQueryParameter(std::string const &name, std::string &value)
Returns an HTTP query parameter.
Definition: ResourceParameters.cpp:48
The ResourceParameters provide access to the parameters passed in the URI.
Definition: ResourceParameters.hpp:31
size_t getQueryParameterCount(bool unique=false)
Returns the number of query parameters.
Definition: ResourceParameters.cpp:67
std::vector< std::pair< std::string, std::string > >::iterator beginQueryParameters()
Provides iterator access to the query parameters.
Definition: ResourceParameters.cpp:98
This class is used internally to resolve a string URL to the corresponding HTTPNode.
Definition: ResourceResolver.hpp:22
bool getPathParameter(size_t const idx, std::string &value)
Checks for the existence of a path parameter and returns it as string.
Definition: ResourceParameters.cpp:129
bool isQueryParameterSet(std::string const &name)
Checks whether a specific HTTPS query parameter is set.
Definition: ResourceParameters.cpp:24
std::vector< std::pair< std::string, std::string > >::iterator endQueryParameters()
Counterpart to beginQueryParameters() for iterating over query parameters.
Definition: ResourceParameters.cpp:105
Definition: ConnectionContext.cpp:3
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4