Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebSocketClientOptions Class

Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9147)

Client-side settings for WebSocket communication.

Syntax
public class WebSocketClientOptions
Inheritance
Object
WebSocketClientOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies