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

joney

11/20/2023, 5:40 PM
The ktor Routing plugin is pretty cool. I'd love to use this as a dedicated ibrary not only in server code, but also in client code for handling deeplinks.
e

e5l

11/20/2023, 5:41 PM
Hey @joney, could you log an issue with code snippet you'd like to have?
👍 1
c

Casey Brooks

11/20/2023, 5:54 PM
My ballast-navigation library uses a URL format that’s mostly compatible with the Ktor syntax. It can be used as the main router for your application, but you can also just use the routing engine to handle deep links and forward the matches to your other router. This comment from the other day shows how you might do that
🙏 1
j

joney

11/20/2023, 10:18 PM
Thanks, @Casey Brooks, I'll take a deeper look into ballast and also file an issue as Leonid suggested.