WebSocketDeflateOptions Class

Definition

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 true the client-side of the connection indicates that it will persist the deflate context accross messages. The default is true.

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 true the server-side of the connection indicates that it will persist the deflate context accross messages. The default is true.

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)

Applies to