Add a forwarding parser and serialiser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-29 03:50:49 +01:00
commit 0f92a11894
3 changed files with 84 additions and 0 deletions

View file

@ -39,6 +39,9 @@ pub const JINGLE_FT_ERROR: &'static str = "urn:xmpp:jingle:apps:file-transfer:er
/// XEP-0261: Jingle In-Band Bytestreams Transport Method
pub const JINGLE_IBB: &'static str = "urn:xmpp:jingle:transports:ibb:1";
/// XEP-0297: Stanza Forwarding
pub const FORWARD: &'static str = "urn:xmpp:forward:0";
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
pub const HASHES: &'static str = "urn:xmpp:hashes:2";
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP