AspNetWebSocket Methods

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubmethodAbort()

Cancels any pending I/O operations on the AspNetWebSocket object and sets the state of the object so that it cannot be used to start additional I/O operations.(Overrides WebSocket::Abort().)

System_CAPS_pubmethodCloseAsync(WebSocketCloseStatus, String^, CancellationToken)

Sends an asynchronous message to a client to close the connection. If the server initiates the request to close the connection, the method waits for the client to acknowledge the request before it returns.(Overrides WebSocket::CloseAsync(WebSocketCloseStatus, String^, CancellationToken).)

System_CAPS_pubmethodCloseOutputAsync(WebSocketCloseStatus, String^, CancellationToken)

Sends an asynchronous message to a client to close the connection. If the server initiates the request to close the connection, the method returns without waiting for a response.(Overrides WebSocket::CloseOutputAsync(WebSocketCloseStatus, String^, CancellationToken).)

System_CAPS_pubmethodDispose()

Releases all resources used by an AspNetWebSocket object.(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)

Receives a single message fragment from a remote client.(Overrides WebSocket::ReceiveAsync(ArraySegment<Byte>, CancellationToken).)

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

Sends a single message fragment to a remote client.(Overrides WebSocket::SendAsync(ArraySegment<Byte>, WebSocketMessageType, Boolean, CancellationToken).)

System_CAPS_pubmethodToString()

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

Return to top
Show: