最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[整理]XMPP的扩展:XEP-0066 OOB

XMPP crifan 2256浏览 0评论
更多内容详见:
【整理】XMPP的扩展:XEP

XEP-0066: Out of Band Data 带外字节流,带内不行就走带外,也就是不经过XMPP服务器。这个用法是在发起传输的客户端临时建立一个http服务(当然也可以是别的服务),把自己的 IP和端口(通过XMPP消息)告诉接收方,让对方直接来下载。这个方法有一个问题,发送一方必须是公网IP,否则对方无法访问。 注:目前Pandion,Linq支持这个XEP。

XEP-0066: Out of Band Data

Abstract:This specification defines two XMPP protocol extensions for communicating URIs, one for use in XMPP message stanzas and the other for use in a structured request-response interaction via XMPP IQ stanzas. Among other things, this enables one entity to inform another entity about a file that is available at an HTTP URL.
Author:Peter Saint-Andre
Copyright:© 1999 – 2015 XMPP Standards Foundation. SEE LEGAL NOTICES.
Status:Draft
Type:Standards Track
Version:1.5
Last Updated:2006-08-16

A.14 XEP-0066 (Out of Band Data)

jabber.el will display URLs sent in message stanzas qualified by the jabber:x:oob namespace, as described in this XEP. Sending such URLs or doing anything with iq stanzas (using the jabber:iq:oob namespace) is not supported.

转载请注明:在路上 » [整理]XMPP的扩展:XEP-0066 OOB

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.160 seconds, using 22.13MB memory