MountedRoute

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
fun MountedRoute(route: Route, middlewares: List<RouterMiddleware>, view: FlowContent.(Route.Match) -> Unit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val route: Route
Link copied to clipboard
val view: FlowContent.(Route.Match) -> Unit