OptionalParameterRouteSelector
Evaluates a route against an optional query parameter value and captures its value, if found.
Parameters
name
is a name of the query parameter
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.