http/http_static_handler library

Classes

StaticFolder
A folder of files served under a path prefix, see Route.staticFiles.

Functions

httpStaticHandler(HttpRequest req, List<StaticFolder> folders) → Future<bool>
Sends a file of folders for a GET or HEAD request that matched no route. true when a file was sent, false when none of the folders has one (the caller then sends 404).