ClientWebSocket Methods

.NET Framework (current version)
 

Namespace:   System.Net.WebSockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAbort()

Aborts the connection and cancels any pending IO operations.(Overrides WebSocket::Abort().)

System_CAPS_pubmethodCloseAsync(WebSocketCloseStatus, String^, CancellationToken)

Close the ClientWebSocket instance as an asynchronous operation.(Overrides WebSocket::CloseAsync(WebSocketCloseStatus, String^, CancellationToken).)

System_CAPS_pubmethodCloseOutputAsync(WebSocketCloseStatus, String^, CancellationToken)

Close the output for the ClientWebSocket instance as an asynchronous operation.(Overrides WebSocket::CloseOutputAsync(WebSocketCloseStatus, String^, CancellationToken).)

System_CAPS_pubmethodConnectAsync(Uri^, CancellationToken)

Connect to a WebSocket server as an asynchronous operation.

System_CAPS_pubmethodDispose()

Releases the unmanaged resources used by the ClientWebSocket instance.(Overrides WebSocket::Dispose().)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodReceiveAsync(ArraySegment<Byte>, CancellationToken)

Receive data on ClientWebSocket as an asynchronous operation.(Overrides WebSocket::ReceiveAsync(ArraySegment<Byte>, CancellationToken).)

System_CAPS_pubmethodSendAsync(ArraySegment<Byte>, WebSocketMessageType, Boolean, CancellationToken)
System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: