WS_OPTIONS
constWS_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).
Type Declaration
Section titled “Type Declaration”clientTracking
Section titled “clientTracking”
readonlyclientTracking:false=false
maxPayload
Section titled “maxPayload”
readonlymaxPayload:number
noServer
Section titled “noServer”
readonlynoServer:true=true
perMessageDeflate
Section titled “perMessageDeflate”
readonlyperMessageDeflate:false=false