WebSocketClient WebSocketClient Class

Definition

public class WebSocketClient
Public Class WebSocketClient
Inheritance
WebSocketClientWebSocketClient

Constructors

WebSocketClient() WebSocketClient()

public WebSocketClient()
Public Sub New

Properties

ConfigureRequest ConfigureRequest

public Action<HttpWebRequest> ConfigureRequest { get; set; }
Public Property ConfigureRequest As Action(Of HttpWebRequest)

InspectResponse InspectResponse

public Action<HttpWebResponse> InspectResponse { get; set; }
Public Property InspectResponse As Action(Of HttpWebResponse)

KeepAliveInterval KeepAliveInterval

public TimeSpan KeepAliveInterval { get; set; }
Public Property KeepAliveInterval As TimeSpan

ReceiveBufferSize ReceiveBufferSize

public int ReceiveBufferSize { get; set; }
Public Property ReceiveBufferSize As Integer
Value
Int32 Int32

SubProtocols SubProtocols

public IList<string> SubProtocols { get; }
Public ReadOnly Property SubProtocols As IList(Of String)
Value
IList<String> IList(Of String)

UseZeroMask UseZeroMask

public bool UseZeroMask { get; set; }
Public Property UseZeroMask As Boolean

Methods

ConnectAsync(Uri, CancellationToken) ConnectAsync(Uri, CancellationToken)

public Task<WebSocket> ConnectAsync(Uri uri, CancellationToken cancellationToken)
Public Function ConnectAsync(uri As Uri, cancellationToken As CancellationToken) As Task(Of WebSocket)
Parameters
uri
Uri Uri
Returns

Equals(Object) Equals(Object)

Inherited from Object

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

Inherited from Object

GetHashCode() GetHashCode()

Inherited from Object

GetType() GetType()

Inherited from Object

MemberwiseClone() MemberwiseClone()

Inherited from Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from Object

ToString() ToString()

Inherited from Object