Click or drag to resize

WebSocketCompression Property

Gets or sets the compression method used to compress a message.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public CompressionMethod Compression { get; set; }

Property Value

Type: CompressionMethod

One of the CompressionMethod enum values.

It specifies the compression method used to compress a message.

The default value is None.

Exceptions
ExceptionCondition
InvalidOperationException The set operation is not available if this instance is not a client.
Remarks
The set operation does nothing if the connection has already been established or it is closing.
See Also