Interface TextMapGetter<Carrier>

A getter is specified by the caller to define a specific method to get the value of a key from a carrier.

Type Parameters

  • Carrier = any

Hierarchy

  • TextMapGetter

Methods

Methods

  • Get the value of a specific key from the carrier.

    Parameters

    • carrier: Carrier
    • key: string

    Returns string | string[]

  • Get a list of all keys available on the carrier.

    Parameters

    • carrier: Carrier

    Returns string[]

Generated using TypeDoc