WebSocketDeflateOptions Class
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9313)
Defines various options for the per-message-deflate extension negotiation.
Syntax
public class WebSocketDeflateOptions
  Inherited Members
Constructors
| Name | Description | 
|---|---|
| WebSocketDeflateOptions() | Initializes new instance of the WebSocketDeflateOptions object.  | 
      
Properties
| Name | Description | 
|---|---|
| ClientContextTakeover | Gets or sets a value indicating whether the client wishes to persist deflate context over multiple messages.  | 
      
| ClientMaxWindowBits | Gets or sets a number which represents base-2 logarithm of the LZ77 window size, the client wishes to use to compress messages. This must be number between 8 and 15. Default is 15, which corresponds to 32KB LZ77 window.  | 
      
| CompressionLevel | Gets or sets the compression level to be used for compressing outgoing WebSocket messages. Possible values are 0-9, where 0 means no compression (fastest) and 9 means best compression (slowest). Default value is 4.  | 
      
| ServerContextTakeover | Gets or sets a value indicating whether the client wishes to persist deflate context over multiple messages compressed by the server.  | 
      
| ServerMaxWindowBits | Gets or sets a number which represents base-2 logarithm of the LZ77 window size, the client wishes to be used by the server to compress messages. This must be number between 8 and 15. Default is 15, which corresponds to 32KB LZ77 window.  | 
      
Methods
| Name | Description | 
|---|---|
| ToString() | Returns a string representation of the object.  |