Per-message compression can be enabled with theDocumentation Index
Fetch the complete documentation index at: https://bun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
perMessageDeflate parameter. When set, all messages will be compressed using the permessage-deflate WebSocket extension.
To enable compression for individual messages, pass
true as the second parameter to ws.send().