ClientWebSocketOptions ClientWebSocketOptions ClientWebSocketOptions ClientWebSocketOptions Class

Definition

Options to use with a ClientWebSocket object.

public ref class ClientWebSocketOptions sealed
public sealed class ClientWebSocketOptions
type ClientWebSocketOptions = class
Public NotInheritable Class ClientWebSocketOptions
Inheritance
ClientWebSocketOptionsClientWebSocketOptionsClientWebSocketOptionsClientWebSocketOptions

Constructors

ClientWebSocketOptions() ClientWebSocketOptions() ClientWebSocketOptions() ClientWebSocketOptions()

Properties

ClientCertificates ClientCertificates ClientCertificates ClientCertificates

Gets or sets a collection of client side certificates.

Cookies Cookies Cookies Cookies

Gets or sets the cookies associated with the request.

Credentials Credentials Credentials Credentials

Gets or sets the credential information for the client.

KeepAliveInterval KeepAliveInterval KeepAliveInterval KeepAliveInterval

Gets or sets the WebSocket protocol keep-alive interval.

Proxy Proxy Proxy Proxy

Gets or sets the proxy for WebSocket requests.

RemoteCertificateValidationCallback RemoteCertificateValidationCallback RemoteCertificateValidationCallback RemoteCertificateValidationCallback
UseDefaultCredentials UseDefaultCredentials UseDefaultCredentials UseDefaultCredentials

Gets or sets a Boolean value that indicates if default credentials should be used during WebSocket handshake.

Methods

AddSubProtocol(String) AddSubProtocol(String) AddSubProtocol(String) AddSubProtocol(String)

Adds a sub-protocol to be negotiated during the WebSocket connection handshake.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetBuffer(Int32, Int32) SetBuffer(Int32, Int32) SetBuffer(Int32, Int32) SetBuffer(Int32, Int32)

Sets the client buffer parameters.

SetBuffer(Int32, Int32, ArraySegment<Byte>) SetBuffer(Int32, Int32, ArraySegment<Byte>) SetBuffer(Int32, Int32, ArraySegment<Byte>) SetBuffer(Int32, Int32, ArraySegment<Byte>)

Sets client buffer parameters.

SetRequestHeader(String, String) SetRequestHeader(String, String) SetRequestHeader(String, String) SetRequestHeader(String, String)

Creates a HTTP request header and its value.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to