加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ajax – 可以像Comet的http漫长等待一样使用XMPP吗?

发布时间:2020-12-16 01:34:38 所属栏目:百科 来源:网络整理
导读:可以用与 reverse Ajax模式类似的方式应用 XMPP吗?它可以用来实现像 Comet这样的http长等待吗?是否有使用XMPP这种技术的例子? 是.看看 XMPP over BOSH.这是一种长期存在的非民意调查技术.从 BOSH specification开始: This specification defines a trans
可以用与 reverse Ajax模式类似的方式应用 XMPP吗?它可以用来实现像 Comet这样的http长等待吗?是否有使用XMPP这种技术的例子?
是.看看 XMPP over BOSH.这是一种长期存在的非民意调查技术.从 BOSH specification开始:

This specification defines a transport protocol that emulates the semantics of a long-lived,bidirectional TCP connection between two entities (such as a client and a server) by efficiently using multiple synchronous HTTP request/response pairs without requiring the use of frequent polling or chunked responses.

jbosh是一个开源Java实现. Tigase.org有许多项目,包括BOSH支持,并且似乎主要是Java / GWT. JAXMPP是框架中的Java库,但不清楚它支持哪些功能集.我自己没试过这些.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读