xmpp-parsers: Implement XEP-0478: Stream Limits Advertisement

This allows servers to communicate their maximum stanza limit, as well
as idle time limit.
This commit is contained in:
Emmanuel Gil Peyrot 2024-08-03 13:21:52 +02:00
commit d8e08df464
6 changed files with 96 additions and 2 deletions

View file

@ -302,6 +302,9 @@ pub const SASL_CB: &str = "urn:xmpp:sasl-cb:0";
/// XEP-0444: Message Reactions
pub const REACTIONS: &str = "urn:xmpp:reactions:0";
/// XEP-0478: Stream Limits Advertisement
pub const STREAM_LIMITS: &str = "urn:xmpp:stream-limits:0";
/// XEP-0484: Fast Authentication Streamlining Tokens
pub const FAST: &str = "urn:xmpp:fast:0";