Std.Site.Route
1 declaration
type
RouteA rule the host applies before it looks for a page, written in one pattern language for every host: a path, where a trailing * matches the rest.
ToFunction sends matching requests to the fallback function before any file is considered — an API, a form post, a search — optionally only for some methods (none listed means all). Header adds a response header to matching files, such as a cache policy. Redirect answers with a redirect, permanent (308) or temporary (307).
