shelf_static library

Functions

createFileHandler(String path, {String url, String contentType}) Handler
Creates a shelf Handler that serves the file at path. [...]
createStaticHandler(String fileSystemPath, {bool serveFilesOutsidePath: false, String defaultDocument, bool listDirectories: false, bool useHeaderBytesForContentType: false, MimeTypeResolver contentTypeResolver}) Handler
Creates a Shelf Handler that serves files from the provided fileSystemPath. [...]