mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
998d2825f8
[gone](https://datatracker.ietf.org/doc/html/rfc6120#section-8.3.3.5) and [redirect](https://datatracker.ietf.org/doc/html/rfc6120#section-8.3.3.14) errors may include an alternative address. > gone > > The recipient or server can no longer be contacted at this address, > typically on a permanent basis (as opposed to the <redirect/> error > condition, which is used for temporary addressing failures); the > associated error type SHOULD be "cancel" and the error stanza SHOULD > include a new address (if available) as the XML character data of the > <gone/> element (which MUST be a Uniform Resource Identifier [URI] or > Internationalized Resource Identifier [IRI] at which the entity can > be contacted, typically an XMPP IRI as specified in [XMPP-URI]). — > redirect > > The recipient or server is redirecting requests for this information > to another entity, typically in a temporary fashion (as opposed to > the <gone/> error condition, which is used for permanent addressing > failures); the associated error type SHOULD be "modify" and the error > stanza SHOULD contain the alternate address in the XML character data > of the <redirect/> element (which MUST be a URI or IRI with which the > sender can communicate, typically an XMPP IRI as specified in > [XMPP-URI](https://datatracker.ietf.org/doc/html/rfc6120#ref-XMPP-URI)). |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml | ||
ChangeLog | ||
doap.xml | ||
LICENSE | ||
README.md |
xmpp-parsers
What’s this?
A crate which provides parsers and serialisers for most XMPP elements, to avoid having to deal with XML manually. It validates its inputs by default, and aims at providing useful errors when a particular XML element was invalid.
What license is it under?
MPL-2.0 or later, see the LICENSE
file.