Share via


WebSocketAcceptContext.ServerMaxWindowBits Property

Definition

Sets the maximum base-2 logarithm of the LZ77 sliding window size that can be used for compression. This setting reduces the memory overhead of compression at the cost of a potentially worse compression ratio.

public int ServerMaxWindowBits { get; set; }
member this.ServerMaxWindowBits : int with get, set
Public Property ServerMaxWindowBits As Integer

Property Value

15

Remarks

This property does nothing when DangerousEnableCompression is false, or when the client does not use compression. Valid values are 9 through 15.

Applies to