Method: XMPP4EM::BaseConnection#init
- Defined in:
- lib/xmpp4em/base_connection.rb
#init ⇒ Object
114 115 116 117 118 |
# File 'lib/xmpp4em/base_connection.rb', line 114 def init send "<?xml version='1.0' ?>" unless @pushParser.started @pushParser.started = false send "<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='#{namespace;}' xml:lang='en' version='1.0' to='#{@host}'>" end |