vibe.d beta banner
get vibe.d
0.10.1

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

handleWebSockets - multiple declarations

Function handleWebSockets

Returns a HTTP request handler that establishes web socket conections.

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

@safe void delegate(scope HTTPServerRequest, HTTPServerResponse) handleWebSockets (
  nothrow @safe void delegate(scope WebSocket) on_handshake
) @safe;

Function handleWebSockets

Scheduled for deprecation - use a @safe callback instead.

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

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

Function handleWebSockets

Scheduled for deprecation - use a nothrow callback instead.

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

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

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

@safe void delegate(scope HTTPServerRequest, HTTPServerResponse) handleWebSockets (
  void function(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.