vibe.d beta banner
get vibe.d
0.7.30

Function handleWebSockets

Returns a HTTP request handler that establishes web socket conections.

Prototypes

void delegate(scope HTTPServerRequest, scope HTTPServerResponse) handleWebSockets(
  void function(scope WebSocket) on_handshake
);

void delegate(scope HTTPServerRequest, scope HTTPServerResponse) handleWebSockets(
  void delegate(scope WebSocket) on_handshake
);
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.