acceptWebsocket

If websocketRequested, you can call this to accept it and upgrade the connection. It returns the new WebSocket object you use for future communication on this connection; the cgi object should no longer be used.

version(cgi_with_websocket)
acceptWebsocket

Meta