Method: Jabber::Connection#initialize
- Defined in:
- lib/vendor/xmpp4r/lib/xmpp4r/connection.rb
#initialize ⇒ Connection
Create a new connection to the given host and port
41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/vendor/xmpp4r/lib/xmpp4r/connection.rb', line 41 def initialize super() @host = nil @port = nil @allow_tls = defined? OpenSSL @tls = false @ssl_capath = nil @ssl_verifycb = nil @features_timeout = 10 @keepalive_interval = 60 @use_ssl = false end |