struct
XMPP::Config
- XMPP::Config
- Struct
- Value
- Object
Defined in:
xmpp/config.crConstructors
Instance Method Summary
-
#auto_presence? : Bool
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)
- #connect_timeout : Int32
- #host : String
- #jid : String
- #lang : String
- #log_file : IO | Nil
- #parsed_jid : JID
- #password : String
- #port : Int32
- #sasl_auth_order : Array(AuthMechanism)
-
#skip_cert_verify? : Bool
skip_cert_verify can be set to true to allow to open a TLS session and skip verification of SSL certs
- #tls? : Bool
Constructor Detail
def self.new(jid : String, password : String, host : String, port : Int32 = 5222, lang : String = "en", tls : Bool = true, skip_cert_verify : Bool = true, time_out : Int32 = 15, log_file : IO | Nil = nil, sasl_auth_order : Array(XMPP::AuthMechanism) = SASL_AUTH_ORDER, auto_presence : Bool = true)
#
Instance Method Detail
def auto_presence? : Bool
#
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)
def skip_cert_verify? : Bool
#
skip_cert_verify can be set to true to allow to open a TLS session and skip verification of SSL certs