enum
XMPP::ConnectionMode
Overview
How the client should negotiate security on the transport.
Defined in:
xmpp/connection.crEnum Members
-
StartTls =
0 -
Classic STARTTLS upgrade on an unencrypted stream (RFC 6120 / RFC 7590).
-
DirectTls =
1 -
XEP-0368 direct TLS: TLS is established immediately on connect, before any XMPP stream bytes are sent.
Instance Method Summary
-
#direct_tls?
Returns
trueif this enum value equalsDirectTls -
#start_tls?
Returns
trueif this enum value equalsStartTls