16 #ifndef INCLUDE_NN_NLIB_HTTPSTYLEURI_H_ 17 #define INCLUDE_NN_NLIB_HTTPSTYLEURI_H_ 27 typedef std::pair<const char*, const char*>
KeyValue;
38 char (&buf)[N])
const NLIB_NOEXCEPT {
39 return this->ComposeString(buf, N);
48 bool AddQuery(
const char* key,
const char* value)
NLIB_NOEXCEPT;
56 const char* GetQueryValue(
const char* key)
const NLIB_NOEXCEPT;
58 const KeyValue* GetQueryKeyValue(
size_t i)
const NLIB_NOEXCEPT;
65 struct HttpStyleUriPrivate;
66 mutable HttpStyleUriPrivate* prv_;
70 #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.