WebSocket Methods |
The WebSocket type exposes the following members.
Name | Description | |
---|---|---|
![]() | Accept |
Accepts the handshake request.
|
![]() | AcceptAsync |
Accepts the handshake request asynchronously.
|
![]() | Close |
Closes the connection.
|
![]() | Close(CloseStatusCode) |
Closes the connection with the specified code.
|
![]() | Close(UInt16) |
Closes the connection with the specified code.
|
![]() | Close(CloseStatusCode, String) |
Closes the connection with the specified code and reason.
|
![]() | Close(UInt16, String) |
Closes the connection with the specified code and reason.
|
![]() | CloseAsync |
Closes the connection asynchronously.
|
![]() | CloseAsync(CloseStatusCode) |
Closes the connection asynchronously with the specified code.
|
![]() | CloseAsync(UInt16) |
Closes the connection asynchronously with the specified code.
|
![]() | CloseAsync(CloseStatusCode, String) |
Closes the connection asynchronously with the specified code and reason.
|
![]() | CloseAsync(UInt16, String) |
Closes the connection asynchronously with the specified code and reason.
|
![]() | Connect |
Establishes a connection.
|
![]() | ConnectAsync |
Establishes a connection asynchronously.
|
![]() | Ping |
Sends a ping using the WebSocket connection.
|
![]() | Ping(String) |
Sends a ping with message using the WebSocket
connection.
|
![]() | Send(Byte) |
Sends the specified data using the WebSocket connection.
|
![]() | Send(FileInfo) |
Sends the specified file using the WebSocket connection.
|
![]() | Send(String) |
Sends the specified data using the WebSocket connection.
|
![]() | Send(Stream, Int32) |
Sends the data from the specified stream using the WebSocket connection.
|
![]() | SendAsync(Byte, ActionBoolean) |
Sends the specified data asynchronously using the WebSocket connection.
|
![]() | SendAsync(FileInfo, ActionBoolean) |
Sends the specified file asynchronously using the WebSocket connection.
|
![]() | SendAsync(String, ActionBoolean) |
Sends the specified data asynchronously using the WebSocket connection.
|
![]() | SendAsync(Stream, Int32, ActionBoolean) |
Sends the data from the specified stream asynchronously using
the WebSocket connection.
|
![]() | SetCookie |
Sets an HTTP cookie to send with the handshake request.
|
![]() | SetCredentials |
Sets the credentials for the HTTP authentication (Basic/Digest).
|
![]() | SetProxy |
Sets the URL of the HTTP proxy server through which to connect and
the credentials for the HTTP proxy authentication (Basic/Digest).
|