Updated doc for connect()
This commit is contained in:
parent
7ef6abb2a3
commit
86a6b40fd8
1 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,9 @@ class ClientXMPP(BaseXMPP):
|
||||||
Arguments:
|
Arguments:
|
||||||
address -- A tuple containing the server's host and port.
|
address -- A tuple containing the server's host and port.
|
||||||
reattempt -- If True, reattempt the connection if an
|
reattempt -- If True, reattempt the connection if an
|
||||||
error occurs.
|
error occurs. Defaults to True.
|
||||||
|
use_tls -- Indicates if TLS should be used for the
|
||||||
|
connection. Defaults to True.
|
||||||
"""
|
"""
|
||||||
self.session_started_event.clear()
|
self.session_started_event.clear()
|
||||||
if not address or len(address) < 2:
|
if not address or len(address) < 2:
|
||||||
|
|
Loading…
Reference in a new issue