How do you spawn an EventMachine “inside” a Rails app?

前端 未结 8 2110
星月不相逢
星月不相逢 2020-12-13 14:54

I\'ve got a Rails application, and am looking to add some sort of WebSocket support to it. From various googling, it appears that the best Ruby based WebSocket solution is

8条回答
  •  长情又很酷
    2020-12-13 15:32

    I'd consider looking into Cramp. It's an async framework built on top of EventMachine, and it supports Thin server:

    Rack Middlewares support + Rainbows! and Thin web servers

提交回复
热议问题