xmpp-rs-mirror/src/ns.rs

11 lines
549 B
Rust
Raw Normal View History

2017-02-21 17:17:49 +00:00
//! Provides constants for namespaces.
2017-02-18 21:16:20 +00:00
pub const CLIENT: &'static str = "jabber:client";
2017-04-01 16:14:46 +00:00
pub const COMPONENT_ACCEPT: &'static str = "jabber:component:accept";
2017-02-18 21:16:20 +00:00
pub const STREAM: &'static str = "http://etherx.jabber.org/streams";
pub const TLS: &'static str = "urn:ietf:params:xml:ns:xmpp-tls";
2017-02-20 01:05:49 +00:00
pub const SASL: &'static str = "urn:ietf:params:xml:ns:xmpp-sasl";
pub const BIND: &'static str = "urn:ietf:params:xml:ns:xmpp-bind";
pub const STANZAS: &'static str = "urn:ietf:params:xml:ns:xmpp-stanzas";
pub const PING: &'static str = "urn:xmpp:ping";