WebSocketAcceptContext.DisableServerContextTakeover Property

Definition

Disables server context takeover when using compression. This setting reduces the memory overhead of compression at the cost of a potentially worse compression ratio.

C#
public bool DisableServerContextTakeover { get; set; }

Property Value

false

Remarks

This property does nothing when DangerousEnableCompression is false, or when the client does not use compression.

Applies to

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