mscorlib(4.0.0.0) API with additions
|
Classes | |
class | ClientWebSocket |
Provides a client for connecting to WebSocket services. More... | |
class | ClientWebSocketOptions |
Options to use with a T:System.Net.WebSockets.ClientWebSocket object. More... | |
class | HttpListenerWebSocketContext |
Provides access to information received by the T:System.Net.HttpListener class when accepting WebSocket connections. More... | |
class | WebSocket |
The WebSocket class allows applications to send and receive data after the WebSocket upgrade has completed. More... | |
class | WebSocketContext |
Used for accessing the information in the WebSocket handshake. More... | |
class | WebSocketException |
Represents an exception that occurred when performing an operation on a WebSocket connection. More... | |
class | WebSocketReceiveResult |
An instance of this class represents the result of performing a single ReceiveAsync operation on a WebSocket. More... | |
|
strong |
Represents well known WebSocket close codes as defined in section 11.7 of the WebSocket protocol spec.
Definition at line 4 of file WebSocketCloseStatus.cs.
|
strong |
Contains the list of possible WebSocket errors.
Enumerator | |
---|---|
Success | Indicates that there was no native error information for the exception. |
InvalidMessageType | Indicates that a WebSocket frame with an unknown opcode was received. |
Faulted | Indicates a general error. |
NativeError | Indicates that an unknown native error occurred. |
NotAWebSocket | Indicates that the incoming request was not a valid websocket request. |
UnsupportedVersion | Indicates that the client requested an unsupported version of the WebSocket protocol. |
UnsupportedProtocol | Indicates that the client requested an unsupported WebSocket subprotocol. |
HeaderError | Indicates an error occurred when parsing the HTTP headers during the opening handshake. |
ConnectionClosedPrematurely | Indicates that the connection was terminated unexpectedly. |
InvalidState | Indicates the WebSocket is an invalid state for the given operation (such as being closed or aborted). |
Definition at line 4 of file WebSocketError.cs.
|
strong |
Indicates the message type.
Enumerator | |
---|---|
Text | The message is clear text. |
Binary | The message is in binary format. |
Close | A receive has completed because a close message was received. |
Definition at line 4 of file WebSocketMessageType.cs.
|
strong |
Defines the different states a WebSockets instance can be in.
Enumerator | |
---|---|
None | Reserved for future use. |
Connecting | The connection is negotiating the handshake with the remote endpoint. |
Open | The initial state after the HTTP handshake has been completed. |
CloseSent | A close message was sent to the remote endpoint. |
CloseReceived | A close message was received from the remote endpoint. |
Closed | Indicates the WebSocket close handshake completed gracefully. |
Aborted | Reserved for future use. |
Definition at line 4 of file WebSocketState.cs.