Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface PublishOptions
import { type PublishOptions } from "https://deno.land/x/natsws@v1.28.0/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.