FileResolvingHandler

Request handler that resolves files within a given base path.

Constructors

this
this(string basePath)

Constructs the request handler.

Members

Functions

handle
void handle(HttpRequest request, HttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
registerMimeType
FileResolvingHandler registerMimeType(string fileExtension, string mimeType)

Registers a new mime type for this handler.

Inherited Members

From HttpRequestHandler

handle
void handle(HttpRequest request, HttpResponse response)

Handles an HTTP request. Note that this method may be called from multiple threads, as requests may be processed in parallel.

Meta