vibe.d beta banner
get vibe.d
0.10.1

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

Function listenHTTPDist

Listens for HTTP connections on the specified load balancer using the given HTTP server settings.

HTTPListener listenHTTPDist (
  HTTPServerSettings settings,
  @safe void delegate(HTTPServerRequest, HTTPServerResponse) handler,
  string balancer_address,
  ushort balancer_port = cast(ushort)11000u
) @safe;

This function is usable as direct replacement of listenHTTP

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2013 Sönke Ludwig

License

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