MsgHdrsImpl
import { MsgHdrsImpl } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
class MsgHdrsImpl implements MsgHdrs { }
constructor(code?, description?);
_code: number;
_description: string;
get hasError();
headers: Map<string, string[]>;
get status(): string;
get code(): number;
get description(): string;
append(
k: string,
v: string,
match?,
): void;delete(k: string, match?): void;
encode(): Uint8Array;
findKeys(k: string, match?): string[];
get(k: string, match?): string;
has(k: string, match?): boolean;
keys(): string[];
last(k: string, match?): string;
set(
k: string,
v: string,
match?,
): void;size(): number;
toRecord(): Record<string, string[]>;
toString(): string;
values(k: string, match?): string[];
[Symbol.iterator]();
static validHeaderValue(k: string): string;
§Properties
§Methods
§
equals(mh: MsgHdrsImpl): boolean
[src]§Static Methods
§
decode(a: Uint8Array): MsgHdrsImpl
[src]