XEP 0128

1.7 Documentation

«  XEP 0122   ::   Contents   ::   XEP 0131  »

XEP 0128

class slixmpp.plugins.xep_0128.XEP_0128(xmpp, config=None)[source]

XEP-0128: Service Discovery Extensions

Allow the use of data forms to add additional identity information to disco#info results.

Also see <http://www.xmpp.org/extensions/xep-0128.html>.

Variables
  • disco – A reference to the XEP-0030 plugin.

  • static – Object containing the default set of static node handlers.

add_extended_info(jid=None, node=None, **kwargs)[source]

Add additional, extended identity information to a node.

Parameters
  • jid – The JID to modify.

  • node – The node to modify.

  • data – Either a form, or a list of forms to add as extended information.

del_extended_info(jid=None, node=None, **kwargs)[source]

Remove all extended identity information to a node.

Parameters
  • jid (Optional[JID]) – The JID to modify.

  • node (Optional[str]) – The node to modify.

set_extended_info(jid=None, node=None, **kwargs)[source]

Set additional, extended identity information to a node.

Replaces any existing extended information.

Parameters
  • jid – The JID to modify.

  • node – The node to modify.

  • data – Either a form, or a list of forms to use as extended information, replacing any existing extensions.

«  XEP 0122   ::   Contents   ::   XEP 0131  »