vibe.d beta banner
get vibe.d
0.8.1

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

Module vibe.http.fileserver

A static HTTP file server.

Functions

NameDescription
serveStaticFile(local_path, settings)Returns a request handler that serves a specific file on disk.
serveStaticFiles(local_path, settings)Returns a request handler that serves files from the specified directory.

Classes

NameDescription
HTTPFileServerSettingsConfiguration options for the static file server.

Enums

NameDescription
HTTPFileServerOptionAdditional options for the static file server.
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.