QueryParams

A collection of query parameters.

This is effectively a multimap of string -> strings.

Alias This

range

ditto

Members

Aliases

Param
alias Param = Tuple!(string, "key", string, "value")
Undocumented in source.

Functions

add
void add(string key, string value)

Add a query parameter with the given key and value. If one already exists, there will now be two query parameters with the given name.

dup
QueryParams dup()

Clone this set of query parameters.

opCmp
int opCmp(QueryParams other)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto opIndex(string key)

Get a range over the query parameter values for the given key.

overwrite
void overwrite(string key, string value)

Add a query parameter with the given key and value. If there are any existing parameters with the same key, they are removed and overwritten.

range
auto range()

A range over the query parameters.

toHash
hash_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Convert this set of query parameters into a query string.

Properties

length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

params
Param[] params;
Undocumented in source.

Meta