Interface ChURIParamSplitter

Charged URI parameters splitter.

Hierarchy

  • ChURIParamSplitter

Properties

Methods

Properties

joiner: string

Symbol used to join search parameters.

Default Value

"&" (U+0026)

prefix: string

Prefix symbol.

E.g. ? for query, ; for matrix, or # for hash.

Methods

  • Splits parameters string onto key/value pairs.

    By default, splits &-separated

    Parameters

    • params: string

      Parameters string to split.

    Returns Iterable<readonly [string, null | string]>

    Iterable of URI-encoded key/value pairs. A value can be null when absent, e.g. when equals sign is missing.

Generated using TypeDoc