Source code for aioxmpp.entitycaps

"""
:mod:`~aioxmpp.entitycaps` --- Entity Capabilities support (XEP-0115)
#####################################################################

This module provides support for `XEP-0115 (Entity Capabilities)`__. To use it,
summon the :class:`Service` on a :class:`~.AbstractClient`. See the service
documentation for more information.

__ https://xmpp.org/extensions/xep-0115.html

.. versionadded:: 0.5

Service
=======

.. autoclass:: Service

.. autoclass:: Cache

.. currentmodule:: aioxmpp.entitycaps.xso

:mod:`.entitycaps.xso` --- Presence payload
===========================================

The submodule :mod:`aioxmpp.entitycaps.xso` contains the
:class:`~aioxmpp.xso.XSO` subclasses which describe the presence payload used
by the implementation.

In general, you will not need to use these classes directly, nor encounter
them, as the service filters them off the presence stanzas. If the filter is
not loaded, the :class:`Caps` instance is available at
:attr:`.stanza.Presence.xep0115_caps`.

.. autoclass:: Caps


"""

from .service import Service, Cache  # NOQA
from . import xso  # NOQA

aioxmpp

Navigation