2017-04-21 00:06:30 +00:00
|
|
|
/// RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
|
2017-04-20 22:16:12 +00:00
|
|
|
pub const JABBER_CLIENT: &'static str = "jabber:client";
|
2017-04-21 00:06:30 +00:00
|
|
|
|
|
|
|
/// XEP-0004: Data Forms
|
2017-04-20 22:16:12 +00:00
|
|
|
pub const DATA_FORMS: &'static str = "jabber:x:data";
|
2017-04-21 00:06:30 +00:00
|
|
|
|
|
|
|
/// XEP-0030: Service Discovery
|
|
|
|
pub const DISCO_INFO: &'static str = "http://jabber.org/protocol/disco#info";
|
|
|
|
|
|
|
|
/// XEP-0047: In-Band Bytestreams
|
2017-04-20 22:16:12 +00:00
|
|
|
pub const IBB: &'static str = "http://jabber.org/protocol/ibb";
|
2017-04-21 00:06:30 +00:00
|
|
|
|
2017-04-29 03:37:18 +00:00
|
|
|
/// XEP-0059: Result Set Management
|
|
|
|
pub const RSM: &'static str = "http://jabber.org/protocol/rsm";
|
|
|
|
|
2017-04-21 00:06:30 +00:00
|
|
|
/// XEP-0085: Chat State Notifications
|
|
|
|
pub const CHATSTATES: &'static str = "http://jabber.org/protocol/chatstates";
|
|
|
|
|
|
|
|
/// XEP-0166: Jingle
|
|
|
|
pub const JINGLE: &'static str = "urn:xmpp:jingle:1";
|
|
|
|
|
|
|
|
/// XEP-0184: Message Delivery Receipts
|
2017-04-20 22:16:12 +00:00
|
|
|
pub const RECEIPTS: &'static str = "urn:xmpp:receipts";
|
2017-04-21 00:06:30 +00:00
|
|
|
|
|
|
|
/// XEP-0199: XMPP Ping
|
|
|
|
pub const PING: &'static str = "urn:xmpp:ping";
|
|
|
|
|
2017-04-21 02:57:34 +00:00
|
|
|
/// XEP-0203: Delayed Delivery
|
|
|
|
pub const DELAY: &'static str = "urn:xmpp:delay";
|
|
|
|
|
2017-04-21 00:06:30 +00:00
|
|
|
/// XEP-0221: Data Forms Media Element
|
|
|
|
pub const MEDIA_ELEMENT: &'static str = "urn:xmpp:media-element";
|
|
|
|
|
2017-04-21 00:53:47 +00:00
|
|
|
/// XEP-0224: Attention
|
|
|
|
pub const ATTENTION: &'static str = "urn:xmpp:attention:0";
|
|
|
|
|
2017-04-22 16:39:21 +00:00
|
|
|
/// XEP-0234: Jingle File Transfer
|
|
|
|
pub const JINGLE_FT: &'static str = "urn:xmpp:jingle:apps:file-transfer:5";
|
|
|
|
/// XEP-0234: Jingle File Transfer
|
|
|
|
pub const JINGLE_FT_ERROR: &'static str = "urn:xmpp:jingle:apps:file-transfer:errors:0";
|
|
|
|
|
2017-04-22 18:15:48 +00:00
|
|
|
/// XEP-0261: Jingle In-Band Bytestreams Transport Method
|
|
|
|
pub const JINGLE_IBB: &'static str = "urn:xmpp:jingle:transports:ibb:1";
|
|
|
|
|
2017-04-29 02:50:49 +00:00
|
|
|
/// XEP-0297: Stanza Forwarding
|
|
|
|
pub const FORWARD: &'static str = "urn:xmpp:forward:0";
|
|
|
|
|
2017-04-21 03:21:16 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
|
|
|
pub const HASHES: &'static str = "urn:xmpp:hashes:2";
|
2017-04-23 16:30:07 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
2017-04-28 22:42:50 +00:00
|
|
|
pub const HASH_ALGO_SHA_256: &'static str = "urn:xmpp:hash-function-text-names:sha-256";
|
2017-04-23 16:30:07 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
2017-04-28 22:42:50 +00:00
|
|
|
pub const HASH_ALGO_SHA_512: &'static str = "urn:xmpp:hash-function-text-names:sha-512";
|
2017-04-23 16:30:07 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
2017-04-28 22:42:50 +00:00
|
|
|
pub const HASH_ALGO_SHA3_256: &'static str = "urn:xmpp:hash-function-text-names:sha3-256";
|
2017-04-23 16:30:07 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
2017-04-28 22:42:50 +00:00
|
|
|
pub const HASH_ALGO_SHA3_512: &'static str = "urn:xmpp:hash-function-text-names:sha3-512";
|
2017-04-23 16:30:07 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
2017-04-28 22:42:50 +00:00
|
|
|
pub const HASH_ALGO_BLAKE2B_256: &'static str = "urn:xmpp:hash-function-text-names:id-blake2b256";
|
2017-04-23 16:30:07 +00:00
|
|
|
/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
|
2017-04-28 22:42:50 +00:00
|
|
|
pub const HASH_ALGO_BLAKE2B_512: &'static str = "urn:xmpp:hash-function-text-names:id-blake2b512";
|
2017-04-21 03:21:16 +00:00
|
|
|
|
2017-04-21 01:07:44 +00:00
|
|
|
/// XEP-0308: Last Message Correction
|
|
|
|
pub const MESSAGE_CORRECT: &'static str = "urn:xmpp:message-correct:0";
|
|
|
|
|
2017-04-29 02:23:50 +00:00
|
|
|
/// XEP-0359: Unique and Stable Stanza IDs
|
|
|
|
pub const SID: &'static str = "urn:xmpp:sid:0";
|
|
|
|
|
2017-04-21 02:45:05 +00:00
|
|
|
/// XEP-0380: Explicit Message Encryption
|
|
|
|
pub const EME: &'static str = "urn:xmpp:eme:0";
|
|
|
|
|
2017-04-21 00:06:30 +00:00
|
|
|
/// XEP-0390: Entity Capabilities 2.0
|
|
|
|
pub const ECAPS2: &'static str = "urn:xmpp:caps";
|
|
|
|
/// XEP-0390: Entity Capabilities 2.0
|
|
|
|
pub const ECAPS2_OPTIMIZE: &'static str = "urn:xmpp:caps:optimize";
|