It is typically used for query parameters and form values. the keys in a Values map are case-sensitive.

Hierarchy

  • Values

Constructors

Properties

m: Map<string, string[]>

map listing

Accessors

Methods

  • Parameters

    • buf: string[]
    • k: string
    • vs: string[]

    Returns void

  • adds the value to key. It appends to any existing values associated with key.

    Parameters

    • key: string
    • Rest ...vals: string[]

    Returns void

  • deletes the values associated with key.

    Parameters

    • key: string

    Returns void

  • gets the first value associated with the given key. to access multiple values, use the map directly.

    Parameters

    • key: string

    Returns string

  • checks whether a given key is set.

    Parameters

    • key: string

    Returns boolean

  • sets the key to vals. It replaces any existing

    Parameters

    • key: string
    • Rest ...vals: string[]

    Returns void

  • parses the URL-encoded query string and returns a map listing the values specified for each key.

    Returns

    always returns a map containing all the valid query parameters found

    Parameters

    • query: string

    Returns Values

  • parses the URL-encoded query string and returns a map listing the values specified for each key.

    Returns

    always returns a map containing all the valid query parameters found

    Parameters

    • query: string

    Returns [Values, Exception[]]

Generated using TypeDoc