struct XMPP::Config
- XMPP::Config
- Struct
- Value
- Object
Defined in:
xmpp/config.crConstructors
Instance Method Summary
- #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)
#
Instance Method Detail
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