parseParameter

fun parseParameter(value: String): RouteSelector

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


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

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