Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface PublishOptions
import { type PublishOptions } from "https://deno.land/x/natsws@v1.29.2/src/mod.ts";

Properties

optional
reply: string

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

optional
headers: MsgHdrs

Optional headers to include with the message.