Jonathan Hollingsworth
08/22/2021, 10:36 PMget("/user/{login}") {
if (call.parameters["login"] == "admin") {
// ...
}
}
But from looking at the definition call just seems an alias for context - what is the reason for the convention that has us using call over context in this situation?
(Kotlin noob, so feel free just to point me at the docs and RTFM me)Aleksei Tirman [JB]
08/23/2021, 8:57 AM