data class LocalPortRouteSelector : RouteSelector
Evaluate a route against the port on which the call was received.
port
- the port to match against
LocalPortRouteSelector(port: Int)
Evaluate a route against the port on which the call was received. |
val port: Int
the port to match against |
val quality: Double
indicates how good this selector is compared to siblings |
fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation
Evaluates this selector against context and a path segment at segmentIndex |
const val LocalPortParameter: String
Parameter name for RoutingApplicationCall.parameters for request host |