XMPP Ping is a ping on the XMPP protocol level. It can be used to detect
connection liveness (although aioxmpp.stream.StanzaStream
and thus
aioxmpp.Client
does that for you) and connectivity/availablility of
remote domains.
Service
-
class
aioxmpp.
PingService
[source]
Service implementing XMPP Ping (XEP-0199).
This service implements the response to XMPP Pings and provides a method
to send pings.
XSOs
Sometimes it is useful to send a ping manually instead of relying on the
Service
. For this, the Ping
IQ payload can be used.
-
class
aioxmpp.ping.
Ping
[source]
Simple XSO to represent an XMPP ping.
It takes no arguments and has no attributes or children.