Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 pyxmpp 发送原始 XML 代码?
就像是:
c.send("<presence to='jid@domain.com/resource'/>")
如果我没记错的话(你现在找不到 API 引用),那就是
c.stream.write_raw("<presence to='jid@domain.com/resource/'>")