getValue
Operator function that allows to delegate variables by call parameters. It does conversion to type R using DefaultConversionService If R is nullable and no values are associated with the delegated property name, returns null.
Example
get("/{path}") {
val path: Int by call.pathParameters
val query: String? by call.queryParameters
// ...
}Content copied to clipboard