Mounted Route
data class MountedRoute(val route: Route, val middlewares: List<RouterMiddleware>, val view: FlowContent.(Route.Match) -> Unit)
Represents a Route that is mounted by a Router
The middlewares are called in order once this route is matched and is about to become the ActiveRoute.
The view is the displayable content associated with the route
Constructors
Link copied to clipboard
constructor(route: Route, middlewares: List<RouterMiddleware>, view: FlowContent.(Route.Match) -> Unit)