Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​WebSockets.​WebSocketDeflateOptions
Assembly: System.Net.WebSockets
Inheritance: object → WebSocketDeflateOptions
Options to enable per-message deflate compression for <see cref="T:System.Net.WebSockets.WebSocket" /> .
Properties
public
int
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.
public
bool
ClientContextTakeover
When <see langword="true" /> the client-side of the connection indicates that it will persist the deflate context accross messages.
The default is <see langword="true" /> .
public
int
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.
public
bool
ServerContextTakeover
When <see langword="true" /> the server-side of the connection indicates that it will persist the deflate context accross messages.
The default is <see langword="true" /> .
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object