connector
— Ways to establish XML streams¶
This module provides classes to establish XML streams. Currently, there are two different ways to establish XML streams: normal TCP connection which is then upgraded using STARTTLS, and directly using TLS.
New in version 0.6: The whole module was added in version 0.6.
Abstract base class¶
The connectors share a common abstract base class, BaseConnector
:
-
class
aioxmpp.connector.
BaseConnector
[source]¶ This is the base class for connectors. It defines the public interface of all connectors.
-
tls_supported
¶ Boolean which indicates whether TLS is supported by this connector.
Existing connectors:
Establish an XML stream using STARTTLS.
Establish an XML stream using XMPP-over-TLS, as per XEP-0368.
-