RouteSelectorEvaluation

data class RouteSelectorEvaluation(succeeded: Boolean, quality: Double, parameters: Parameters, segmentIncrement: Int)

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

Constructors

Link copied to clipboard
fun RouteSelectorEvaluation(succeeded: Boolean, quality: Double, parameters: Parameters = Parameters.Empty, segmentIncrement: Int = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val parameters: Parameters
Link copied to clipboard
val quality: Double
Link copied to clipboard
val segmentIncrement: Int = 0
Link copied to clipboard
val succeeded: Boolean