ns.rs

 1/// RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
 2pub const JABBER_CLIENT: &'static str = "jabber:client";
 3
 4/// XEP-0004: Data Forms
 5pub const DATA_FORMS: &'static str = "jabber:x:data";
 6
 7/// XEP-0030: Service Discovery
 8pub const DISCO_INFO: &'static str = "http://jabber.org/protocol/disco#info";
 9
10/// XEP-0047: In-Band Bytestreams
11pub const IBB: &'static str = "http://jabber.org/protocol/ibb";
12
13/// XEP-0059: Result Set Management
14pub const RSM: &'static str = "http://jabber.org/protocol/rsm";
15
16/// XEP-0085: Chat State Notifications
17pub const CHATSTATES: &'static str = "http://jabber.org/protocol/chatstates";
18
19/// XEP-0166: Jingle
20pub const JINGLE: &'static str = "urn:xmpp:jingle:1";
21
22/// XEP-0184: Message Delivery Receipts
23pub const RECEIPTS: &'static str = "urn:xmpp:receipts";
24
25/// XEP-0199: XMPP Ping
26pub const PING: &'static str = "urn:xmpp:ping";
27
28/// XEP-0203: Delayed Delivery
29pub const DELAY: &'static str = "urn:xmpp:delay";
30
31/// XEP-0221: Data Forms Media Element
32pub const MEDIA_ELEMENT: &'static str = "urn:xmpp:media-element";
33
34/// XEP-0224: Attention
35pub const ATTENTION: &'static str = "urn:xmpp:attention:0";
36
37/// XEP-0234: Jingle File Transfer
38pub const JINGLE_FT: &'static str = "urn:xmpp:jingle:apps:file-transfer:5";
39/// XEP-0234: Jingle File Transfer
40pub const JINGLE_FT_ERROR: &'static str = "urn:xmpp:jingle:apps:file-transfer:errors:0";
41
42/// XEP-0261: Jingle In-Band Bytestreams Transport Method
43pub const JINGLE_IBB: &'static str = "urn:xmpp:jingle:transports:ibb:1";
44
45/// XEP-0297: Stanza Forwarding
46pub const FORWARD: &'static str = "urn:xmpp:forward:0";
47
48/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
49pub const HASHES: &'static str = "urn:xmpp:hashes:2";
50/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
51pub const HASH_ALGO_SHA_256: &'static str = "urn:xmpp:hash-function-text-names:sha-256";
52/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
53pub const HASH_ALGO_SHA_512: &'static str = "urn:xmpp:hash-function-text-names:sha-512";
54/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
55pub const HASH_ALGO_SHA3_256: &'static str = "urn:xmpp:hash-function-text-names:sha3-256";
56/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
57pub const HASH_ALGO_SHA3_512: &'static str = "urn:xmpp:hash-function-text-names:sha3-512";
58/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
59pub const HASH_ALGO_BLAKE2B_256: &'static str = "urn:xmpp:hash-function-text-names:id-blake2b256";
60/// XEP-0300: Use of Cryptographic Hash Functions in XMPP
61pub const HASH_ALGO_BLAKE2B_512: &'static str = "urn:xmpp:hash-function-text-names:id-blake2b512";
62
63/// XEP-0308: Last Message Correction
64pub const MESSAGE_CORRECT: &'static str = "urn:xmpp:message-correct:0";
65
66/// XEP-0313: Message Archive Management
67pub const MAM: &'static str = "urn:xmpp:mam:2";
68
69/// XEP-0359: Unique and Stable Stanza IDs
70pub const SID: &'static str = "urn:xmpp:sid:0";
71
72/// XEP-0380: Explicit Message Encryption
73pub const EME: &'static str = "urn:xmpp:eme:0";
74
75/// XEP-0390: Entity Capabilities 2.0
76pub const ECAPS2: &'static str = "urn:xmpp:caps";
77/// XEP-0390: Entity Capabilities 2.0
78pub const ECAPS2_OPTIMIZE: &'static str = "urn:xmpp:caps:optimize";