WebSocketClientOptions Class
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9083)
Client-side settings for WebSocket communication.
Syntax
public class WebSocketClientOptions
Inherited Members
Properties
Name | Description |
---|---|
CollectHttpResponseDetails | Gets or sets a value that indicates whether to fill HttpStatusCode and HttpResponseHeaders. |
Credentials | Get or sets network credentials to use for authentication to the server. |
DangerousDeflateOptions | Gets or sets message deflate options (per-message-deflate extension). If specified, the deflate options are negotiated with the server. If the server accepts the extension, all messages sent to the server will be compressed. All compressed messages received from the server will be decompressed. Using compression is dangerous, because it makes the application vulnerable to CRIME/BREACH type of attack. The DisableCompression flag can be used to disable compression when sending messages containing sensitive data using the Send(ArraySegment<Byte>, WebSocketMessageType, WebSocketMessageFlags) method. |
KeepAliveInterval | Gets or sets keep-alive interval. |
UseDefaultCredentials | Gets or sets a value that indicates whether to use default credentials (single sign-on) for authentication to the server. |
Methods
Name | Description |
---|---|
AddSubProtocol(String) | Adds subprotocol to a list of subprotocols to be announced to the server. |
SetRequestHeader(String, String) | Set request header. |