compressionDefault constant

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)

Implementation

static const CompressionOptions compressionDefault =
    const CompressionOptions();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/CompressionOptions/compressionDefault-constant.html