Interface TextMapGetter<Carrier>
interface TextMapGetter<Carrier> { get(carrier,
key): string | string[]; keys(carrier): string[]; } Methods
get
- get(carrier, key): string | string[]
Returns string | string[]
keys
- keys(carrier): string[]
Returns string[]
A getter is specified by the caller to define a specific method to get the value of a key from a carrier.