add a Component2S connection type

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-01 17:14:46 +01:00
commit 70f70b1c73
2 changed files with 24 additions and 0 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";