Mint.WebSocket.PerMessageDeflate (MintWebSocket v0.1.0) View Source
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.
Link to this section Summary
Link to this section Types
Specs
t() :: %Mint.WebSocket.PerMessageDeflate{ deflate: :zlib.zstream(), deflate_takeover?: term(), inflate: :zlib.zstream(), inflate_takeover?: term() }