LocalPortRouteSelector

data class LocalPortRouteSelector(port: Int) : RouteSelector

Evaluates a route against the port on which a call is received.

Parameters

port

the port to match against

Constructors

Link copied to clipboard
fun LocalPortRouteSelector(port: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Properties

Link copied to clipboard
val port: Int
Link copied to clipboard
val quality: Double