OptionaldomainXMPP domain (the to of the stream); defaults to the JID domain.
OptionalhostnameRemote host to dial; defaults to the JID domain.
Bare JID user@domain to authenticate as.
OptionalkeepWhitespace keep-alive interval in seconds; disabled when omitted or 0.
OptionalmechanismsForced SASL mechanism order; the first that the server offers is used.
Account password.
OptionalportRemote port; defaults to 5222 (plaintext/STARTTLS) or 5223 (tls: 'implicit').
OptionalresourceRequested resource; the server may reassign it. A random one is requested when omitted.
OptionalschedulerTimer override for the keep-alive (mainly for testing).
OptionaltimeoutPer-step read deadline in milliseconds for the connect handshake.
OptionaltlsTransport security:
'off': plaintext, no STARTTLS.'starttls' (default): plaintext, upgraded via STARTTLS when the server offers it.'implicit': TLS from the first byte (legacy port 5223).
Options for connect.
Since
1.0.4