IPWorks IoT 2020 Python Edition

Questions / Feedback?

connect Method

This method will connect the class to the server.


def connect(user: str, password: str) -> None: ...


The connect method performs the entire connection routine. This includes connection to the im_server, user logon and authentication, and session initialization.

The on_connected event will fire once for the initial TCP connection and again when the XMPP Logon is complete.

Since connect is called with a user and password specified, the user and password properties will updated accordingly.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Python Edition - Version 20.0 [Build 8265]