Returns the current compression threshold.

Namespace: Sfs2X
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public int CompressionThreshold { get; }

Property Value

Type: Int32

Remarks

This value represents the maximum message size (in bytes) before the protocol compression is activated and it is determined by the server configuration.
Compression threshold doesn't apply if websocket connection is used.

See Also