Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method NatsConnectionImpl.prototype.request
import { NatsConnectionImpl } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Parameters

subject: string
optional
data: Payload
optional
opts: RequestOptions = [UNSUPPORTED]

Returns

Promise<Msg>