Represents a real-time full-duplex connection between a web server and a client in an ASP.NET application.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|CloseStatus||Gets a status code that indicates why an object was closed. (Overrides WebSocket.CloseStatus.)|
|CloseStatusDescription||Gets a status message that explains why an object was closed. (Overrides WebSocket.CloseStatusDescription.)|
|State||Gets a value that indicates the open or closed state of an object. (Overrides WebSocket.State.)|
|SubProtocol||Gets the name of an application-specific protocol that a remote client and a server can use to exchange data over an connection. (Overrides WebSocket.SubProtocol.)|
|Abort||Cancels any pending I/O operations on the object and sets the state of the object so that it cannot be used to start additional I/O operations. (Overrides WebSocket.Abort().)|
|CloseAsync||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).)|
|CloseOutputAsync||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).)|
|Dispose||Releases all resources used by an object. (Overrides WebSocket.Dispose().)|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ReceiveAsync||Receives a single message fragment from a remote client. (Overrides WebSocket.ReceiveAsync(ArraySegment<Byte>, CancellationToken).)|
|SendAsync||Sends a single message fragment to a remote client. (Overrides WebSocket.SendAsync(ArraySegment<Byte>, WebSocketMessageType, Boolean, CancellationToken).)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.