XMPP::Config
Constructors
Instance methods
auto_presence controls whether to automatically send initial presence after connection Set to false if you want to manually control presence (e.g., for invisible login)
True when the caller supplied an explicit host, in which case SRV-based connection discovery is skipped.
prefer_direct_tls opts into XEP-0368 connection discovery: when true and no explicit host is configured, the client looks up _xmpps-client/_xmpp-client SRV records and connects using direct TLS where the server offers it. Defaults to false (STARTTLS on port 5222).
Ordered SASL mechanisms offered to the selector. Defaults to the
SCRAM-only SASL_AUTH_ORDER. Pass LEGACY_SASL_AUTH_ORDER explicitly
when compatibility with PLAIN, DIGEST-MD5, or ANONYMOUS is required.
skip_cert_verify can be set to true to allow to open a TLS session and skip verification of SSL certs
Connection transport: TransportMode::Tcp (default), WebSocket (RFC 7395), Bosh (XEP-0206), or Auto (TCP first, then XEP-0156 discovery).
Explicit connection endpoint for the WebSocket (RFC 7395) or BOSH (XEP-0206) transports: ws:// or wss:// for WebSocket, http:// or https:// for BOSH. Overrides discovery; falls back to a derived default when nil.