enum

XMPP::TransportMode

Inherits Enum / Comparable / Value / Object

Connection transport selected by Config#transport. Tcp is the classic RFC 6120 stream (STARTTLS or XEP-0368 direct TLS); WebSocket is RFC 7395; Bosh is XEP-0206; Auto tries TCP first, then XEP-0156 discovery.

Constants

Tcp = 0
WebSocket = 1
Bosh = 2
Auto = 3

Instance methods

auto?

Returns true if this enum value equals Auto

Source
bosh?

Returns true if this enum value equals Bosh

Source
tcp?

Returns true if this enum value equals Tcp

Source
web_socket?

Returns true if this enum value equals WebSocket

Source