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.

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.

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