Add a stanza error parser and serialiser.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-01 01:24:45 +01:00
commit 2465885975
3 changed files with 279 additions and 0 deletions

View file

@ -6,6 +6,8 @@
/// RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
pub const JABBER_CLIENT: &'static str = "jabber:client";
/// RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
pub const XMPP_STANZAS: &'static str = "urn:ietf:params:xml:ns:xmpp-stanzas";
/// XEP-0004: Data Forms
pub const DATA_FORMS: &'static str = "jabber:x:data";