libs/core/wt_router library

Classes

WtRoute
A single route: a path pattern (supports :param segments) and the builder that creates its controller.
WtRouter
Matches route names to WtRoutes and generates their pages.

Typedefs

WtRouteBuilder = WtController Function(RouteSettings settings)
Builds the WtController for a matched route from its RouteSettings.