ktor
ktor copied to clipboard
Call router from other router or websocket
Like servlet forward, i want call router from webscoket on custom protocol. It's very useful. This is helpful to construct the realtime application based on websocket and reduce duplicate code, like Meteor. And use for graphql server
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
@icode could you please explain it in more detail? How in your opinion the code should look like?
Isn't it something with just call.respondRedirect https://api.ktor.io/ktor-server/ktor-server-core/io.ktor.server.response/respond-redirect.html?_ga=2.58103658.1352441211.1683398500-354363718.1683398500&_gl=11mgxe3z_gaMzU0MzYzNzE4LjE2ODMzOTg1MDA._ga_9J976DJZ68*MTY4MzM5ODUwMC4xLjEuMTY4MzM5ODU4OC40Mi4wLjA.