Options
All
  • Public
  • Public/Protected
  • All
Menu

Message object provided to subscription and requests.

Hierarchy

  • Msg

Index

Properties

Properties

Optional data

data: any

optional payload for the message. Type is controlled by NatsConnectionOptions.payload.

Optional reply

reply: undefined | string

optional reply subject where replies may be sent.

sid

sid: number

Internal subscription id

size

size: number

Number of bytes in the payload

subject

subject: string

subject used to publish the message

Legend

  • Property
  • Method
  • Property
  • Inherited method

Generated using TypeDoc