class MsgHdrsImpl
implements MsgHdrs
import { MsgHdrsImpl } from "https://deno.land/x/natsws@v1.29.2/src/mod.ts";
Methods
append(): void
k: string,
v: string,
match?,
delete(k: string, match?): void
encode(): Uint8Array
equals(mh: MsgHdrsImpl): boolean
findKeys(k: string, match?): string[]
get(k: string, match?): string
has(k: string, match?): boolean
keys(): string[]
last(k: string, match?): string
set(): void
k: string,
v: string,
match?,
size(): number
toRecord(): Record<string, string[]>
toString(): string
values(k: string, match?): string[]
Static Methods
decode(a: Uint8Array): MsgHdrsImpl
fromRecord(r: Record<string, string[]>): MsgHdrs
validHeaderValue(k: string): string