parseParameter

Builds a RouteSelector to match a path segment parameter with a prefix/suffix and name.


fun parseParameter(value: String, hasTrailingSlash: Boolean): RouteSelector

Deprecated (with error)

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

Replace with

parseParameter(value)

Builds a RouteSelector to match a path segment parameter with a prefix/suffix, name, and trailing slash, if any.