handleWebSocket

Establishes a web socket conection and passes it to the on_handshake delegate.

  1. void handleWebSocket(WebSocketHandshakeDelegate on_handshake, HTTPServerRequest req, HTTPServerResponse res)
    @safe @safe
    void
    handleWebSocket
  2. void handleWebSocket(void delegate(scope WebSocket) @(system) on_handshake, HTTPServerRequest req, HTTPServerResponse res)

Meta