getValue
Operator function that allows to delegate variables by call parameters. It does conversion to type R using DefaultConversionService
Example
get("/") {
val page: Int by call.request.queryParameters
val query: String by call.request.queryParameters
// ...
}
Content copied to clipboard
Throws
if no values associated with name
when conversion from String to R fails