WebSocketAcceptContext.DangerousEnableCompression Property

Definition

Enables support for the 'permessage-deflate' WebSocket extension.

Be aware that enabling compression over encrypted connections makes the application subject to CRIME/BREACH type attacks. It is strongly advised to turn off compression when sending data containing secrets by specifying DisableCompression when sending such messages.

public bool DangerousEnableCompression { get; set; }
member this.DangerousEnableCompression : bool with get, set
Public Property DangerousEnableCompression As Boolean

Property Value

Applies to