private_xml
– Private XML Storage support (XEP-0049)¶
This module provides support for storing and retrieving private XML data on the server as per Private XML Storage.
- class aioxmpp.private_xml.PrivateXMLService(client, **kwargs)[source]¶
Service for handling server side private XML storage.
- async get_private_xml(query_xso)[source]¶
Get the private XML data for the element query_xso from the server.
- Parameters:
query_xso – the object to retrieve.
- Returns:
the stored private XML data.
query_xso must serialize to an empty XML node of the wanted namespace and type and must be registered as private XML
Query
payload.
To register payload XSOs for private storage Query
is
exposed: