Does Ratpack support WebSockets?
I checked the docs, didn't see anything... might just be blind. :P Cheers, -Will |
I don't know if Ratpack has any Socket Support itself, but
http://jameswilliams.be/blog/entry/tags/Ratpack more specifically: http://jameswilliams.be/blog/entry/211 discusses creating a a Chat Server using the PREVIOUS branch of Ratpack and WebSocket4J The new branch of Ratpack (the one this forum is discussing) has several syntax differences than the one discussed in that blog, but I think if you play around you should figure out how to use WebSocket4J with Ratpack. BTW - I'm not one of the Ratpack developers and have just been playing around with it in my spare time the last couple of week. Hope that helps, Dave |
Administrator
|
Unfortunately there is nothing in Ratpack for WebSockets right now.
The eventual goal is to support sockjs, which is a gracefully degrading communication protocol. It uses websockets where possible, but degrades back to long polling if websocket support is not there. I'd be more than happy to accept contributions for getting some kind of WebSocket support in there. |
Free forum by Nabble | Edit this page |