Reputation: 1672
How can I send raw XML code using pyxmpp?
something like:
c.send("<presence to='[email protected]/resource'/>")
Upvotes: 2
Views: 272
Reputation: 30197
If I recall it right (can't find an API reference to it now thou), it's
c.stream.write_raw("<presence to='[email protected]/resource/'>")
Upvotes: 1