parseConstant

Builds a RouteSelector to match a constant or wildcard segment parameter.


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

Deprecated (with error)

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

Replace with

parseConstant(value)

Builds a RouteSelector to match a constant or wildcard segment parameter and trailing slash, if any.