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

更多内容详见:

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.



发表评论

电子邮件地址不会被公开。 必填项已用*标注

无觅相关文章插件,快速提升流量