- Pods
- AF-BedSheet 0.0.2
- API
- Route
const classafBedSheet::Route
sys::Obj
afBedSheet::Route
Route maps a URI to a method handler. All uri's are treated as case-insensitive.
All handler classes are autobuilt. If the class is const
, the instance is cached for future use.
Nicked and adapted form draft
handler
Source
const Method handler
Method handler for this route.
httpMethod
Source
const Str httpMethod
HTTP method used for this route
make
Source
new make(Uri routeBase, Method handler, Str httpMethod := "GET")
routeBase
Source
const Uri routeBase
The URI this route matches. Always starts and ends with a slash.