我搜索了很多,但找不到任何说明我可以将 Faye 与 jruby 结合使用的资源。我找到了 this one那说它不能很好地与 jruby 一起玩,但它真的很旧。我也找到了this看起来他们已经实现了 Java native 扩展以支持 jruby?有谁知道我是否可以在 Jruby on rails 项目中使用它?
谢谢!
最佳答案
来自 Faye 的创建者:
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.
关于ruby-on-rails - Faye in jruby on rails,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12251004/