vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

handleWebSocket - multiple declarations

Function handleWebSocket

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

void handleWebSocket (
  scope nothrow @safe void delegate(scope WebSocket) on_handshake,
  scope HTTPServerRequest req,
  scope HTTPServerResponse res
) @safe;

Function handleWebSocket

Scheduled for deprecation - use a @safe callback instead.

void handleWebSocket (
  scope void delegate(scope WebSocket) on_handshake,
  scope HTTPServerRequest req,
  scope HTTPServerResponse res
);

Function handleWebSocket

Scheduled for deprecation - use a nothrow callback instead.

void handleWebSocket (
  scope @safe void delegate(scope WebSocket) on_handshake,
  scope HTTPServerRequest req,
  scope HTTPServerResponse res
) @safe;

void handleWebSocket (
  scope void delegate(scope WebSocket) on_handshake,
  scope HTTPServerRequest req,
  scope 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.