Options
All
  • Public
  • Public/Protected
  • All
Menu

Optional arguments to WebSocketServer's sendMessage() method.

Hierarchy

  • SendMessageOptions

Index

Properties

Optional maxAgeQueuedMillis

maxAgeQueuedMillis: number

The maximum number of milliseconds the message should be queued for, after which it will not be sent to the server. If left undefined/falsey it will not expire based on time. Has no effect unless queue is false.

Optional queue

queue: boolean

Whether to queue the message if it can't be send to the server immediately. Defaults to true.