LocalPortRouteSelector

data class LocalPortRouteSelector(val 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
constructor(port: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val port: Int

Functions

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

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