ktor-server-core / io.ktor.routing / RootRouteSelector

RootRouteSelector

class RootRouteSelector : RouteSelector

The selector for routing root.

Constructors

<init>

RootRouteSelector(rootPath: String = "")

The selector for routing root.

Inherited Properties

quality

val quality: Double

indicates how good this selector is compared to siblings

Functions

evaluate

fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex

toString

fun toString(): String