HttpHeaderRouteSelector
data class HttpHeaderRouteSelector(name: String, value: String) : RouteSelector
Content copied to clipboard
Evaluates a route against a header in the request
Parameters
name
is a name of the header
value
is a value of the header
Constructors
Functions
Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation
Content copied to clipboard
Evaluates this selector against context and a path segment at segmentIndex