RouteMod
src
const class RouteMod : WebMod
RouteMod routes a level of the URI path to sub-WebMods.
See pod doc
src
new make(|This|? f)
Constructor with it-block.
src
virtual override Void onService()
src
virtual override Void onStart()
Call onStart
on sub-mods.
src
virtual override Void onStop()
Call onStop
on sub-mods.
src
const Str:WebMod routes := [Str:WebMod][:]
Map of URI path names to sub-WebMods. The name "index" is used for requests to the RouteMod itself.