const classafBedSheet::RouteSource

sys::Obj
  afBedSheet::RouteSource

Router handles routing URIs to method handlers.

BedSheet takes the stance that any Err encountered whilst finding or invoking a handler should cause a 404. If a route doesn't exist, or the wrong params were supplied, then that URI is clearly wrong and should be reported as such.

make

Source

new make(Route[] routes, |This? in := null)

routes

Source

const Route[] routes