HttpAcceptRouteSelector
Evaluates a route against a Content-Type
in the HttpHeaders.Accept request header.
Parameters
contentType
is an instance of ContentType
Constructors
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.