websocketRequested

Returns true if the request headers are asking for a websocket upgrade.

If this returns true, and you want to accept it, call acceptWebsocket.

version(cgi_with_websocket)
bool
websocketRequested

Meta