Handles an incoming HTTP request and tries to establish a websocket connection by first verifying the request, then sending a switching- protocols response, and finally registering the new connection with the websocket manager.
The request to read from.
The response to write to.
Handles an incoming HTTP request and tries to establish a websocket connection by first verifying the request, then sending a switching- protocols response, and finally registering the new connection with the websocket manager.