Merge branch 'component' into 'master'

Add the possibility to write components

See merge request !3
This commit is contained in:
lumi 2017-04-01 20:57:40 +00:00
commit e6416f34d8
6 changed files with 298 additions and 1 deletions

View file

@ -1,6 +1,7 @@
//! Provides constants for namespaces.
pub const CLIENT: &'static str = "jabber:client";
pub const COMPONENT_ACCEPT: &'static str = "jabber:component:accept";
pub const STREAM: &'static str = "http://etherx.jabber.org/streams";
pub const TLS: &'static str = "urn:ietf:params:xml:ns:xmpp-tls";
pub const SASL: &'static str = "urn:ietf:params:xml:ns:xmpp-sasl";