Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface RequestOptions
import { type RequestOptions } from "https://deno.land/x/natsws@v1.27.0/src/mod.ts";

Properties

timeout: number

number of milliseconds before the request will timeout.

optional
headers: MsgHdrs

MsgHdrs to include with the request.

optional
noMux: boolean

If true, the request API will create a regular NATS subscription to process the response. Otherwise a shared muxed subscriptions is used. Requires reply

optional
reply: string

The subject where the response should be sent to. Requires noMux