ClientWebSocketOptions.DangerousDeflateOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the options for the per-message-deflate extension. When present, the options are sent to the server during the handshake phase. If the server supports per-message-deflate and the options are accepted, the WebSocket instance will be created with compression enabled by default for all messages.
Be aware that enabling compression makes the application subject to CRIME/BREACH type of attacks. It is strongly advised to turn off compression when sending data containing secrets by specifying DisableCompression flag for such messages.public:
property System::Net::WebSockets::WebSocketDeflateOptions ^ DangerousDeflateOptions { System::Net::WebSockets::WebSocketDeflateOptions ^ get(); void set(System::Net::WebSockets::WebSocketDeflateOptions ^ value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Net.WebSockets.WebSocketDeflateOptions? DangerousDeflateOptions { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.DangerousDeflateOptions : System.Net.WebSockets.WebSocketDeflateOptions with get, set
Public Property DangerousDeflateOptions As WebSocketDeflateOptions
Property Value
- Attributes
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.