const classdraft::Router
sys::Obj draft::Router
Router handles routing URIs to method handlers.
- groups
const RouteGroup[] groups := RouteGroup[,]
RouteGroup configuration.
- make
new make(|This f)
Constructor.
- match
RouteMatch? match(Uri uri, Str method)
- routes
const Route[] routes := Route[,]
Route configuration.