Skip to content

MsgHdrs

@wuespace/telestion / nats / MsgHdrs

Extends

  • Iterable<[string, string[]]>

Properties

code

code: number


description

description: string


hasError

hasError: boolean


status

status: string

Methods

[iterator]()

[iterator](): Iterator<[string, string[]], any, undefined>

Returns

Iterator<[string, string[]], any, undefined>

Inherited from

Iterable.[iterator]


append()

append(k, v, match?): void

Parameters

k: string

v: string

match?: Match

Returns

void


delete()

delete(k, match?): void

Parameters

k: string

match?: Match

Returns

void


get()

get(k, match?): string

Parameters

k: string

match?: Match

Returns

string


has()

has(k, match?): boolean

Parameters

k: string

match?: Match

Returns

boolean


keys()

keys(): string[]

Returns

string[]


last()

last(k, match?): string

Parameters

k: string

match?: Match

Returns

string


set()

set(k, v, match?): void

Parameters

k: string

v: string

match?: Match

Returns

void


values()

values(k, match?): string[]

Parameters

k: string

match?: Match

Returns

string[]