const classdraft::RouteGroup

sys::Obj
  draft::RouteGroup

RouteGroup models a set of Routes with optional meta-data. If any Routes are matched in a RouteGroup, the meta-data will be stored and available in:

Str:Obj meta := req.stash["draft.route.meta"]
make

Source

new make(|This f)

It-block ctor.

meta

Source

const Str:Obj meta := [Str:Obj][:]

Meta-data for this group.

routes

Source

const Route[] routes

Routes for this group.