WebSocketDeflateOptions Class
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9147)
Defines various options for the per-message-deflate extension negotiation.
Syntax
public class WebSocketDeflateOptions
Inherited Members
Constructors
Name | Description |
---|---|
Web |
Initializes new instance of the Web |
Properties
Name | Description |
---|---|
Client |
Gets or sets a value indicating whether the client wishes to persist deflate context over multiple messages. |
Client |
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. |
Compression |
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. |
Server |
Gets or sets a value indicating whether the client wishes to persist deflate context over multiple messages compressed by the server. |
Server |
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 |
---|---|
To |
Returns a string representation of the object. |