A type which can represent a parameter as a const reference.
using reference = query_param_view;
Name |
Description |
---|---|
Conversion. |
|
Constructor. |
Name |
Description |
---|---|
True if the value is present. |
|
The percent-decoded key. |
|
The percent-decoded value. |
Objects of this type represent a single key/value pair in a query string.
A value that is present with an empty string is distinct from a value that
is absent. The presence of a value is indicated by has_value
== true
.
Ownership of the underlying character buffers representing the key and
value is not transferred. The caller is responsible for ensuring that the
buffers assigned to these members remains valid while the object exists.
This type does not make a copy of a parameter and ownership is retained by the container.