vibe.d beta banner
get vibe.d
0.7.30

Module vibe.http.fileserver

A static HTTP file server.

Functions

Name Description
sendFile Sends a file to the given HTTP server response object.
serveStaticFile Returns a request handler that serves a specific file on disk.
serveStaticFiles Returns a request handler that serves files from the specified directory.

Classes

Name Description
HTTPFileServerSettings Configuration options for the static file server.

Enums

Name Description
HTTPFileServerOption Additional options for the static file server.
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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