https://kotlinlang.org logo
#ktor
Title
# ktor
r

Robin Larsen

08/31/2019, 9:09 PM
I'm having a hard time understanding when to use the
handle
method in a
Route
. My initial thought was that it is a place to put a piece of code that should execute every time the route is triggered - could be checking a cookie for relevant info and reacting accordingly. But it doesn't seem to work that way. Can anyone shed some light on this one please 🙂
s

spand

09/02/2019, 5:08 AM
I assume its a way to tell ktor that the route has been found and no further matching is needed