Function handleWebSockets

Returns a HTTP request handler that establishes web socket conections.

Prototype

void delegate(HttpServerRequest req, HttpServerResponse res) handleWebSockets(
  void delegate(WebSocket) onHandshake
);

Authors

Jan Krüger

Copyright

© 2012 RejectedSoftware e.K.

License

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