Interface RequestOptions

Hierarchy

  • RequestOptions

Properties

headers?: MsgHdrs

MsgHdrs to include with the request.

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?: string

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

timeout: number

number of milliseconds before the request will timeout.

Generated using TypeDoc