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

Muhammad Talha

05/11/2022, 3:23 AM
Are internal redirects/route forwarding possible in Ktor? E.g. if I get a request to /path1 I want to forward it to the /path2 handler. It'd also be great if data could be modified on the request before forwarding.
a

Aleksei Tirman [JB]

05/11/2022, 8:09 AM
One way of doing it is described in this answer.
m

Muhammad Talha

05/11/2022, 11:30 PM
Thanks!
7 Views