plugin library

Classes

Asset
An asset (aka., resource), such as a file or a BLOB object in database.
AssetCache
A cache for storing resources.
AssetLoader
A skeletal implementation of ResourceLoader that utilizes AssetCache and supports all HTTP requirements such as partial content, multi-part loading, ETag and more.
DefaultRouter
The default implementation of Router.
FileAsset
A file-based asset.
FileLoader
A file-system-based asset loader.
ResourceLoader
Resource loader.
Router
Router for mapping URI to renderers.

Functions

checkIfHeaders(HttpConnect connect, DateTime? lastModified, String? etag) bool
Check if the conditions specified in the optional If headers are satisfied, such as If-Modified-Since and If-None-Match headers.
loadAsset(HttpConnect connect, Asset asset, [AssetCache? cache]) Future
Loads an asset into the given response.