Class: Kibosh::XMPP::Client::Connection::StreamParser

Inherits:
Nokogiri::XML::SAX::PushParser
  • Object
show all
Defined in:
lib/kibosh/xmpp/client/connection.rb

Defined Under Namespace

Classes: Document

Instance Method Summary collapse

Constructor Details

#initialize(connection, stream, success, failure) ⇒ StreamParser

Returns a new instance of StreamParser.



152
153
154
# File 'lib/kibosh/xmpp/client/connection.rb', line 152

def initialize connection, stream, success, failure
  super Document.new( connection, stream, success, failure), nil, "UTF-8"
end