Function serveStaticFiles
Returns a request handler that serves files from the specified directory.
Prototypes
void delegate(HTTPServerRequest, HTTPServerResponse) serveStaticFiles( Path local_path, HTTPFileServerSettings settings ); void delegate(HTTPServerRequest, HTTPServerResponse) serveStaticFiles( string local_path, HTTPFileServerSettings settings );
See Also
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.