ktor-server-core / io.ktor.routing / RouteSelectorEvaluation / <init>

<init>

RouteSelectorEvaluation(succeeded: Boolean, quality: Double, parameters: Parameters = Parameters.Empty, segmentIncrement: Int = 0)

Represents a result of a route evaluation against a call

Parameters

succeeded - indicates if a route matches current RoutingResolveContext

quality - indicates quality of this route as compared to other sibling routes

parameters - is an instance of Parameters with parameters filled by RouteSelector

segmentIncrement - is a value indicating how many path segments has been consumed by a selector