struct XMPP::Config

Defined in:

xmpp/config.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def connect_timeout : Int32 #

[View source]
def host : String #

[View source]
def jid : String #

[View source]
def lang : String #

[View source]
def log_file : IO | Nil #

[View source]
def parsed_jid : JID #

[View source]
def password : String #

[View source]
def port : Int32 #

[View source]
def sasl_auth_order : Array(AuthMechanism) #

[View source]
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


[View source]
def tls : Bool #

[View source]