PathSegmentParameterRouteSelector

fun PathSegmentParameterRouteSelector(name: String, prefix: String? = null, suffix: String? = null)

Parameters

name

is the name of the parameter to capture values to

prefix

is an optional suffix

suffix

is an optional prefix


fun PathSegmentParameterRouteSelector(name: String, prefix: String? = null, suffix: String? = null, hasTrailingSlash: Boolean)

Deprecated (with error)

hasTrailingSlash is not used anymore. This is going to be removed

Replace with

PathSegmentParameterRouteSelector(value, prefix, suffix)