Function serveStaticFiles

Returns a request handler that serves files from the specified directory.

Prototype

void delegate(HttpServerRequest req, HttpServerResponse res) serveStaticFiles(
  string local_path,
  HttpFileServerSettings settings
);

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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