PathSegmentTailcardRouteSelector
data class PathSegmentTailcardRouteSelector(val name: String = "", val prefix: String = "") : RouteSelector
Evaluates a route against any number of trailing path segments, and captures their values.
Parameters
name
is the name of the parameter to capture values to
Constructors
Link copied to clipboard
fun PathSegmentTailcardRouteSelector(name: String = "", prefix: String = "", hasTrailingSlash: Boolean)
Link copied to clipboard
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.