Anyone knows if it is possible to combine a routin...
# server
m
Anyone knows if it is possible to combine a routing for all HTTP verbs in ktor? Like a combined
get("/")
and
post("/")
?
o
sure,
Copy code
route("/") {
    handle { 
      …
    }
}
PS: #ktor is a better place to ask specific questions
basically,
get
=
route
+
method
+
handle
m
Oh, seems so obvious now. Thanks a lot!
And thank you for the channel tip, did not realize how many channels that existed 😉