简体   繁体   English

Rails的Longpolling(comet)解决方案作为移动后端(无js)

[英]Longpolling(comet) solution for Rails as a mobile backend(no js)

Is it possible to organize real-time connection interaction rails app and mobile client(ios, android)? 是否可以组织实时连接交互Rails应用程序和移动客户端(iOS,Android)? There are many js solutions based socket.io, but I have no ideas how connect them with mobile clients. 有许多基于socket.io的js解决方案,但我不知道如何将它们与移动客户端连接。 Maybe there are pure rails alternatives for this? 也许有纯铁轨替代品吗? I know that rails 4 will have live streaming feature, but I need solution for 3.2. 我知道Rails 4将具有实时流功能,但是我需要3.2的解决方案。

Thanks for any help! 谢谢你的帮助!

ps: nginx+passenger as a web-server. ps:nginx + passenger作为网络服务器。

Looks like that pusher.com is the best solution. 看起来pusher.com是最好的解决方案。 Socket.io separate server also tales place Socket.io单独的服务器也有故事的地方

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM