Summary
Provides the base class for your application to implement a WebSocket connection. Derive from this class and then
pass an instance of your derived class to
HttpResponse.WebSocket(WebSocket, string, HttpResponseHeaders).
Instance methods
| void | | Closes the WebSocket connection. |
| object | | See base. |
| void | |
Sends a binary message to the client. |
| void | SendMessage(IEnumerable<byte[]> fragmentedBinaryMessage) |
Sends to the client a binary message that is provided as a sequence of chunks. |
| void | |
Sends a text message to the client. |
| void | |
Sends to the client a text message that is provided as a sequence of chunks. |
| void | |
Sends a text message containing a JSON object to the client. |
| void | |
Sends a message to the client. |