使用旁遮普语到底有什么好处
我现在一直在研究 XMPP 相关的东西,这是我到目前为止所吸收的内容。 XMPP 和 HTTP 是两种不同的协议,但当您尝试实现基于浏览器的 XMPP 客户端时,XMPP 流量将搭载在 HTTP 上,这称为 XMPP-over-BOSH。
我遇到了 Punjab,它似乎是一个非常流行的 XMPP/BOSH 连接管理器,可以与常见的 XMPP 服务器(如 ejabberd 和 OpenFire)配合使用。这些常见的 XMPP 服务器(例如 ejabberd 和 Openfire)似乎已经内置了对 XMPP-over-BOSH 的支持,因此,Punjab 提供了哪些附加功能。
许多大型站点在其 XMPP 实现中使用 Punjab,但我不明白为什么当您可以直接让浏览器内的 XMPP 客户端连接到 ejabberd 或 OpenFire 时他们会使用它。
谢谢。
I've been working with XMPP related stuff now and here's what I've assimilated so far. XMPP and HTTP are two different protocols but when you're trying to implement a browser-based XMPP client, the XMPP traffic would piggyback on HTTP which is called XMPP-over-BOSH.
I came across Punjab which seems to be a pretty popular XMPP/BOSH connection manager and works with the common XMPP servers like ejabberd and OpenFire. These common XMPP servers like ejabberd and Openfire already seem to have inbuilt support for XMPP-over-BOSH therefore, what added functionality does Punjab provide.
Many large sites are using Punjab in their XMPP implementation but I couldn't figure out why they would be using it when you could directly have the in-broswe XMPP client connect to ejabberd or OpenFire.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
许多直接支持 BOSH 的服务器早期并没有这种支持。有时将 BOSH 代理移近您的 Web 基础设施也很方便,特别是在 CORS 之前很好理解。
Many of the servers with direct BOSH support did not have that support early on. It's also sometimes handy to move the BOSH proxy closer to your web infrastructure, particularly before CORS was as well-understood.