3 #ifndef INCLUDE_NN_NLIB_HTTPSTYLEURI_H_ 4 #define INCLUDE_NN_NLIB_HTTPSTYLEURI_H_ 14 typedef std::pair<const char*, const char*>
KeyValue;
25 char (&buf)[N])
const NLIB_NOEXCEPT {
26 return this->ComposeString(buf, N);
35 bool AddQuery(
const char* key,
const char* value)
NLIB_NOEXCEPT;
43 const char* GetQueryValue(
const char* key)
const NLIB_NOEXCEPT;
45 const KeyValue* GetQueryKeyValue(
size_t i)
const NLIB_NOEXCEPT;
52 struct HttpStyleUriPrivate;
53 mutable HttpStyleUriPrivate* prv_;
57 #endif // INCLUDE_NN_NLIB_HTTPSTYLEURI_H_ The class for parsing URIs that use the http and https schemes, and for constructing URI strings...
std::pair< const char *, const char * > KeyValue
The type that stores query keys and values.
bool ComposeString(char(&buf)[N]) const noexcept
Calls ComposeString(buf, N).
HttpStyleUri() noexcept
Instantiates the object with default parameters (default constructor). Initializes an object...
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
A file that contains the configuration information for each development environment.
The class for parsing and constructing regular URIs.
Defines the class for handling URIs.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.