Skip to content

ParseQueryParameters

[Source]

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.

primitive val ParseQueryParameters

Constructors

create

[Source]

new val create()
: ParseQueryParameters val^

Returns


Public Functions

apply

[Source]

fun box apply(
  query: String val)
: (QueryParams val | InvalidPercentEncoding val)

Parameters

Returns


eq

[Source]

fun box eq(
  that: ParseQueryParameters val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ParseQueryParameters val)
: Bool val

Parameters

Returns