Is it possible to implement an interface to descri...
# ktor
c
Is it possible to implement an interface to describe my routing in Ktor? (I'd like to share e.g. a UserApi interface between my frontend and backend.)
as far as I can tell this isn't possible. But this feature might solve my problem another way: https://ktor.io/docs/features-locations.html#building-urls
c
it seems locations is jvm only so you cannot construct a url on your js frontend with it
but something similar when you can define your location data class in common would be great