View Source Mint.WebSocket.PerMessageDeflate (MintWebSocket v1.0.4)
A WebSocket extension which compresses each message before sending it across the wire
This extension is defined in rfc7692.
Options
:zlib_level
- (default::best_compression
) the compression level to use for the deflation zstream. See the:zlib.deflateInit/6
documentation on theLevel
argument.:zlib_memory_level
- (default:8
) how much memory to allow for use during compression. See the:zlib.deflateInit/6
documentation on theMemLevel
argument.