Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MsgHdrs

import type { MsgHdrs } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
interface MsgHdrs extends Iterable<[string, string[]]> {
code: number;
description: string;
hasError: boolean;
status: string;
append(
k: string,
v: string,
match?: Match,
): void;
delete(k: string, match?: Match): void;
get(k: string, match?: Match): string;
has(k: string, match?: Match): boolean;
keys(): string[];
last(k: string, match?: Match): string;
set(
k: string,
v: string,
match?: Match,
): void;
values(k: string, match?: Match): string[];
}

§Extends

§
Iterable<[string, string[]]>
[src]

§Properties

§
code: number
[src]
§
description: string
[src]
§
hasError: boolean
[src]
§
status: string
[src]

§Methods

§
append(
k: string,
v: string,
match?: Match,
): void
[src]
§
delete(k: string, match?: Match): void
[src]
§
get(k: string, match?: Match): string
[src]
§
has(k: string, match?: Match): boolean
[src]
§
keys(): string[]
[src]
§
last(k: string, match?: Match): string
[src]
§
set(
k: string,
v: string,
match?: Match,
): void
[src]
§
values(k: string, match?: Match): string[]
[src]