Search code examples
scalawebsocketcometplayframework-2.1

Is there a Comet adapter around Play Famework 2.1 Websockets?


So I made this website to use websockets. All was good on my localhost and then I decided to deploy on Heroku. This broke the website because Heroku does not support websockets!

I wonder if anyone has written a simple adapter that allows me to use comet on the front-end and trick my Scala Play 2.1 server into thinking it's using websockets on the back end. Then I could use another adapter on the front-end to trick it into thinking it's using websockets as well and I wouldn't have to change too much code.


Solution

  • I found this using google: http://www.playframework.com/documentation/2.0/ScalaComet

    Is that what you need?