Crate ratchet_deflate

source ·
Expand description

An implementation of permessage-deflate (RFC 7692) as an extension for Ratchet.

See the documentation in Ratchet for more details on using this extension.

Structs

  • When compressing data, the compression level can be specified by a value in this enum.
  • A negotiated permessage-deflate extension. Used by a WebSocket session for compressing and decompressing data.
  • A permessage-deflate configuration.
  • A permessage-deflate decompressor. Only producible by the SplittableExtension implementation on Deflate.
  • A permessage-deflate compressor. Only producible by the SplittableExtension implementation on Deflate.
  • An ExtensionProvider for negotiating permessage-deflate during a WebSocket handshake.
  • Client or server maximum window bits. Wrapping a u8 with a value in the range of 8..=15.
  • An error produced by TryFrom<u8> on WindowBits when the value is not in the range of 8..=15.

Enums