【发布时间】:2017-05-28 14:39:56
【问题描述】:
如何向xmpp服务器发送信息查询包,也就是说如何向服务器发送“...”来查询一些信息?
<iq type='set' id='123'>
<push xmlns='p1:push'>
<keepalive max="30"/>
<session duration="60"/>
<body send="all" groupchat="true" from="jid"/>
<status type="xa">Text Message when in push mode</status>
<offline>false</offline>
<notification>
<type>applepush</type>
<id>DeviceToken</id>
</notification>
<appid>application1</appid>
</push>
</iq>
【问题讨论】:
-
您想要自定义 IQ 还是代表任何基本 XEP?
-
我想把上面的转换成IQProvider进行配置@MrPk
-
我想将推送配置发送到 XMPP for firebase 可以使用这个@MrPk