vibe.d beta banner
get vibe.d
0.7.30

Function handleWebSocket

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

void handleWebSocket(
  scope void delegate(scope vibe.http.websockets.WebSocket) on_handshake,
  scope vibe.http.server.HTTPServerRequest req,
  scope vibe.http.server.HTTPServerResponse res
);
Authors

Jan Krüger

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.