compressionDefault constant Null safety

CompressionOptions const compressionDefault

Default WebSocket compression configuration.

Enables compression with default window sizes and no reuse. This is the default options used by WebSocket.connect if no CompressionOptions is supplied.

  • clientNoContextTakeover: false
  • serverNoContextTakeover: false
  • clientMaxWindowBits: null (default maximal window size of 15 bits)
  • serverMaxWindowBits: null (default maximal window size of 15 bits)


static const CompressionOptions compressionDefault = CompressionOptions();