Add a legacy caps parser and serialiser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-25 02:34:03 +01:00
commit dfdfd8cf71
4 changed files with 304 additions and 0 deletions

View file

@ -24,6 +24,9 @@ pub const RSM: &'static str = "http://jabber.org/protocol/rsm";
/// XEP-0085: Chat State Notifications
pub const CHATSTATES: &'static str = "http://jabber.org/protocol/chatstates";
/// XEP-0115: Entity Capabilities
pub const CAPS: &'static str = "http://jabber.org/protocol/caps";
/// XEP-0166: Jingle
pub const JINGLE: &'static str = "urn:xmpp:jingle:1";