- draft 1.4
Router handles routing URIs to method handlers.
const RouteGroup groups := RouteGroup[,]
new make(|This f)
RouteMatch? match(Uri uri, Str method)
Match a request to Route. If no matches are found, returns
null. The first route that matches is chosen. Routes from groups are matched before routes. Literal routes are matched before parameterized routes.
const Route routes := Route[,]