perMessageDeflate parameter to compress all messages with the permessage-deflate WebSocket extension.
To enable compression for individual messages, pass
true as the second parameter to ws.send().
perMessageDeflate parameter to compress all messages with the permessage-deflate WebSocket extension.
true as the second parameter to ws.send().