W3cubDocs

/Dart 2

enabled property

bool enabled
final

Whether WebSocket compression is enabled.

If not enabled, the remaining fields have no effect, and the compressionOff instance can, and should, be reused instead of creating a new instance with compression disabled.

Implementation

final bool enabled

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