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

PublishOptions

import type { PublishOptions } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
interface PublishOptions {
headers?: MsgHdrs;
reply?: string;
}

§Properties

§
headers?: MsgHdrs
[src]

Optional headers to include with the message.

§
reply?: string
[src]

An optional subject where a response should be sent. Note you must have a subscription listening on this subject to receive the response.