WebSocketDeflateOptions Class
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.
Options to enable per-message deflate compression for WebSocket.
public ref class WebSocketDeflateOptions sealed
public sealed class WebSocketDeflateOptions
type WebSocketDeflateOptions = class
Public NotInheritable Class WebSocketDeflateOptions
- Inheritance
-
WebSocketDeflateOptions
Remarks
Although the WebSocket spec allows window bits from 8 to 15, the current implementation doesn't support 8 bits.
Constructors
WebSocketDeflateOptions() |
Creates an instance of the WebSocketDeflateOptions class. |
Properties
ClientContextTakeover |
When |
ClientMaxWindowBits |
This parameter indicates the base-2 logarithm for the LZ77 sliding window size used by the client to compress messages and by the server to decompress them. Must be a value between 9 and 15. The default is 15. |
ServerContextTakeover |
When |
ServerMaxWindowBits |
This parameter indicates the base-2 logarithm for the LZ77 sliding window size used by the server to compress messages and by the client to decompress them. Must be a value between 9 and 15. The default is 15. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |