ParseQueryParameters¶
Parse a query string into a QueryParams collection.
Splits on &, then on the first =. Decodes + as space and
percent-decodes both keys and values.
Duplicate keys are preserved in order. Keys without = get an
empty-string value.
The ; separator (from an older HTML convention) is not supported —
it was dropped from the WHATWG URL Standard and is rarely encountered
in practice.
Constructors¶
create¶
Returns¶
- ParseQueryParameters val^
Public Functions¶
apply¶
Parameters¶
- query: String val
Returns¶
- (QueryParams val | InvalidPercentEncoding val)
eq¶
Parameters¶
- that: ParseQueryParameters val
Returns¶
- Bool val
ne¶
Parameters¶
- that: ParseQueryParameters val
Returns¶
- Bool val