Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method ProtocolHandler.prototype.publish
import { ProtocolHandler } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Parameters

subject: string
optional
payload: Payload = [UNSUPPORTED]
optional
options: PublishOptions