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.

C#
public int ServerMaxWindowBits { get; set; }

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

Tuote Versiot
ASP.NET Core 6.0, 7.0, 8.0, 9.0