ktor icon indicating copy to clipboard operation
ktor copied to clipboard

Call router from other router or websocket

Open icode opened this issue 5 years ago • 3 comments

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

icode avatar Dec 11 '19 13:12 icode

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

oleg-larshin avatar Aug 10 '20 15:08 oleg-larshin

@icode could you please explain it in more detail? How in your opinion the code should look like?

Stexxe avatar Jul 13 '21 11:07 Stexxe

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.

victororlyk avatar May 06 '23 18:05 victororlyk