vibe.d beta banner
get vibe.d
0.10.0

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

HTTPServerSettings.errorPageHandler - multiple declarations

Function HTTPServerSettings.errorPageHandler

Sets a custom handler for displaying error pages for HTTP errors

@safe void delegate(HTTPServerRequest, HTTPServerResponse, HTTPServerErrorInfo) errorPageHandler() @property @safe;

void errorPageHandler (
  @safe void delegate(HTTPServerRequest, HTTPServerResponse, HTTPServerErrorInfo) del
) @property @safe;

Function HTTPServerSettings.errorPageHandler

Scheduled for deprecation - use a @safe callback instead.

void errorPageHandler (
  void delegate(HTTPServerRequest, HTTPServerResponse, HTTPServerErrorInfo) del
) @property;
Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2017 Sönke Ludwig

License

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