Rails Heroku 支持 WebSocket 吗?

hlxwell · 2013年05月10日 · 最后由 hlxwell 回复于 2013年05月10日 · 2709 次阅读

有人用过吗? 如果支持不知道最大连接数是如何的情况。 如果支持,里面的 pusher 服务不是客户骤减了?

貌似不支持,之前用 socketio 还要特地切到 xhr-polling 模式。。

Socket.IO is a popular framework for creating real-time web apps with Node.js. The Heroku Cedar stack supports Node.js and Socket.IO; however, the following configuration settings are necessary to force long polling and prevent the use of WebSockets. The WebSockets protocol is not yet supported on the Cedar stack.

#3 楼 @xieren58 #1 楼 @krazy

Thanks, 是的似乎支持 long polling

需要 登录 后方可回复, 如果你还没有账号请 注册新账号