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