rfc6120 – Stanza payloads for RFC 6120 implementation¶
This module contains XSO-related classes for implementation of RFC 6120.
- class aioxmpp.rfc6120.BindFeature(*args, **kwargs)[source]¶
A stream feature for use with
nonza.StreamFeatureswhich indicates that the server allows resource binding.- required¶
This attribute is either an instance of
RequiredorNone. The former indicates that the server requires resource binding at this point in the stream negotiation;Noneindicates that it is not required.User code should just test the boolean value of this attribute and not worry about the actual types involved.
- class aioxmpp.rfc6120.Bind(*args, **kwargs)[source]¶
The
IQpayload for binding to a resource.- jid¶
The server-supplied
aioxmpp.JID. This must not be set by client code.
- resource¶
The client-supplied, optional resource. If a client wishes to bind to a specific resource, it must tell the server that using this attribute.
- class aioxmpp.rfc6120.Required(*args, **kwargs)[source]¶
The XSO used for the
BindFeature.requiredattribute.