Route

fun Route(parent: Route?, selector: RouteSelector, environment: ApplicationEnvironment? = null)

Describes a node in a routing tree.

Parameters

parent

is a parent node in the tree, or null for root node.

selector

is an instance of RouteSelector for this node.


fun Route(parent: Route?, selector: RouteSelector, developmentMode: Boolean = false, environment: ApplicationEnvironment? = null)

Parameters

parent

is a parent node in the tree, or null for root node.

selector

is an instance of RouteSelector for this node.

developmentMode

is flag to switch report level for stack traces.