开发者

Can a client continue to communicate with an XMPP server after sending the unavailable presence?

After the client has sent the server and unavailable presence, can it continue 开发者_如何转开发to send the server more XML stanzas for it to process, or should the server ignore these XML stanzas? I couldn't find anything relevant in RFC-3921, but then again I've only skimmed it.


Yes, you can continue to send protocol after sending an unavailable presence. For example, you could go back online, you could send IQs to your server (which should continue to route the replies back to you), and you can send confusing messages to others (confusing because they don't have presence from you). Just because you can doesn't mean you SHOULD, though. If you're trying to control the inbound flow of information, consider using XEP-0273: SIFT instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜