summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-14 11:57:25 +0100
committermathieui <mathieui@mathieui.net>2021-02-26 00:08:56 +0100
commite24e2f58d4e9c71ef005a4dfe88abac7bff1cc6b (patch)
tree9b804a68234e0d573adcec31102d63248c7088ee /docs/api
parent4960cffcb49ce9b996b820103e48702d694239a1 (diff)
downloadslixmpp-e24e2f58d4e9c71ef005a4dfe88abac7bff1cc6b.tar.gz
slixmpp-e24e2f58d4e9c71ef005a4dfe88abac7bff1cc6b.tar.bz2
slixmpp-e24e2f58d4e9c71ef005a4dfe88abac7bff1cc6b.tar.xz
slixmpp-e24e2f58d4e9c71ef005a4dfe88abac7bff1cc6b.zip
XEP-0128: API changes
- ``set_extended_info``, ``add_extended_info`` and ``del_extended_info`` return Futures.
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/plugins/xep_0128.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/api/plugins/xep_0128.rst b/docs/api/plugins/xep_0128.rst
index 1e080928..ae6b4b3c 100644
--- a/docs/api/plugins/xep_0128.rst
+++ b/docs/api/plugins/xep_0128.rst
@@ -7,3 +7,36 @@ XEP-0128: Service Discovery Extensions
.. autoclass:: XEP_0128
:members:
:exclude-members: session_bind, plugin_init, plugin_end
+
+Internal API methods
+--------------------
+
+
+
+.. glossary::
+
+ add_extended_info
+ - **jid**: JID to set the extended info for
+ - **node**: note to set the info at
+ - **ifrom**: unused
+ - **args**: A :class:`~.Form` or list of forms to add to the disco
+ extended info for this JID/node.
+
+ Add extended info for a JID/node.
+
+ set_extended_info
+ - **jid**: JID to set the extended info for
+ - **node**: note to set the info at
+ - **ifrom**: unused
+ - **args**: A :class:`~.Form` or list of forms to set as the disco
+ extended info for this JID/node.
+
+ Set extended info for a JID/node.
+
+ del_extended_info
+ - **jid**: JID to delete the extended info from
+ - **node**: note to delete the info from
+ - **ifrom**: unused
+ - **args**: unused
+
+ Delete extended info for a JID/node.