Skip to content

RequestOptions

@wuespace/telestion / nats / RequestOptions

Properties

headers?

headers?: MsgHdrs

MsgHdrs to include with the request.


noMux?

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


reply?

reply?: string

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


timeout

timeout: number

number of milliseconds before the request will timeout.