Socket Accept Context Class
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.
A context for negotiating a websocket upgrade.
public ref class WebSocketAcceptContext
public class WebSocketAcceptContext
type WebSocketAcceptContext = class
Public Class WebSocketAcceptContext
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.
Disables server context takeover when using compression. This setting reduces the memory overhead of compression at the cost of a potentially worse compression ratio.
The interval to send pong frames. This is a heart-beat that keeps the connection alive.
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.
Gets or sets the subprotocol being negotiated.