王菲在朱比上的铁轨 [英] Faye in jruby on rails

查看:61
本文介绍了王菲在朱比上的铁轨的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了很多资源,但找不到任何可以将Faye与jruby一起使用的资源.我发现与jruby玩的不好,但是真的很老了.我还发现看起来他们已经实现了Java本机扩展,以支持jruby?有谁知道我是否可以在Jruby on rails项目中使用它?

I have searched A LOT and couldn't find any resource that says I can use Faye with jruby. I have found this one that says that it doen't play well with jruby but it's really really old. Also I have found this that looks like they have implemented a Java native extension in order to support jruby?? Does anyone know if I can use it in a Jruby on rails project?

谢谢!

推荐答案

来自Faye的创建者:

From the creator of Faye:

是的,服务器在JRuby上运行.客户端使用WebSocket,EventSource,XMLHttpRequest,CORS或JSON-P,具体取决于用户浏览器,服务器和中间网络所支持的内容,并且与其他Bayeux服务器兼容.

Yes, the server runs on JRuby. The client uses either WebSocket, EventSource, XMLHttpRequest, CORS or JSON-P depending on what is supported by the user's browser, the server, and the intervening network, and is compatible with other Bayeux servers.

这篇关于王菲在朱比上的铁轨的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆