Skip to content

WS_OPTIONS

const WS_OPTIONS: object

Options for a ws WebSocketServer that fit the hub: no own size default of 100 MiB, no compression, no client list (the hub tracks sockets).

readonly clientTracking: false = false

readonly maxPayload: number

readonly noServer: true = true

readonly perMessageDeflate: false = false