WebSocket Methods
The WebSocket type exposes the following members.
Methods
Name | Description | |
---|---|---|
Accept |
Accepts the WebSocket connection request.
|
|
AcceptAsync |
Accepts the WebSocket connection request asynchronously.
|
|
Close()()()() |
Closes the WebSocket connection, and releases all associated resources.
|
|
Close(UInt16) |
Closes the WebSocket connection with the specified UInt16,
and releases all associated resources.
|
|
Close(CloseStatusCode) |
Closes the WebSocket connection with the specified CloseStatusCode,
and releases all associated resources.
|
|
Close(UInt16, String) | ||
Close(CloseStatusCode, String) |
Closes the WebSocket connection with the specified CloseStatusCode and
String, and releases all associated resources.
|
|
CloseAsync()()()() |
Closes the WebSocket connection asynchronously, and releases all associated resources.
|
|
CloseAsync(UInt16) |
Closes the WebSocket connection asynchronously with the specified UInt16,
and releases all associated resources.
|
|
CloseAsync(CloseStatusCode) |
Closes the WebSocket connection asynchronously with the specified
CloseStatusCode, and releases all associated resources.
|
|
CloseAsync(UInt16, String) | ||
CloseAsync(CloseStatusCode, String) |
Closes the WebSocket connection asynchronously with the specified
CloseStatusCode and String, and releases
all associated resources.
|
|
Connect |
Establishes a WebSocket connection.
|
|
ConnectAsync |
Establishes a WebSocket connection asynchronously.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Ping()()()() |
Sends a ping using the WebSocket connection.
|
|
Ping(String) |
Sends a ping with the specified message using the WebSocket connection.
|
|
Send(array<Byte>[]()[][]) |
Sends binary data using the WebSocket connection.
|
|
Send(FileInfo) |
Sends the specified file as binary data using the WebSocket connection.
|
|
Send(String) |
Sends text data using the WebSocket connection.
|
|
SendAsync(array<Byte>[]()[][], Action<(Of <<'(Boolean>)>>)) |
Sends binary data asynchronously using the WebSocket connection.
|
|
SendAsync(FileInfo, Action<(Of <<'(Boolean>)>>)) |
Sends the specified file as binary data asynchronously using
the WebSocket connection.
|
|
SendAsync(String, Action<(Of <<'(Boolean>)>>)) |
Sends text data asynchronously using the WebSocket connection.
|
|
SendAsync(Stream, Int32, Action<(Of <<'(Boolean>)>>)) |
Sends binary data from the specified Stream asynchronously using
the WebSocket connection.
|
|
SetCookie |
Sets an HTTP cookie to send with
the WebSocket connection request to the server.
|
|
SetCredentials |
Sets a pair of username and password for
the HTTP authentication (Basic/Digest).
|
|
SetProxy |
Sets an HTTP proxy server URL to connect through, and if necessary,
a pair of username and password for
the proxy server authentication (Basic/Digest).
|
|
ToString | (Inherited from Object.) |