Summary
Encapsulates a response to an HTTP request that indicates to the client that they should switch to the WebSocket
protocol.
Remarks
Constructor.
Constructors
|
Encapsulates a response to an HTTP request that indicates to the client that they should switch to the WebSocket
protocol. |
Instance methods
Instance properties
| HttpStatusCode | | The HTTP status code. For example, 200 OK, 404 Not Found, 500 Internal Server Error. Default is 200 OK. |
| string | | The server’s selection of a subprotocol, if the client specified any subprotocols in the request. |
| WebSocket | | The WebSocket implementation to use for the remainder of the connection. |