handy_httpd.handler

Contains core components for the HTTP handler structure.

Members

Functions

noOpHandler
HttpRequestHandler noOpHandler()

Helper method for an HttpRequestHandler that simply responds with a 503 to any request.

simpleHandler
HttpRequestHandler simpleHandler(void function(ref HttpRequest, ref HttpResponse) fn)

Helper method to produce an HttpRequestHandler from a function.

Interfaces

HttpRequestHandler
interface HttpRequestHandler

Interface for any component that handles HTTP requests.

Meta