class Ox::StreamParser

This is an alternative parser for the stdlib xmlrpc library. It makes use of Ox and is based on REXMLStreamParser. To use it set is as the parser for an XMLRPC client:

require 'xmlrpc/client'
require 'ox/xmlrpc_adapter'
client = XMLRPC::Client.new2('http://some_server/rpc')
client.set_parser(Ox::StreamParser.new)

Public Class Methods

new() click to toggle source

Create a new instance.

# File lib/ox/xmlrpc_adapter.rb, line 16
def initialize
  @parser_class = OxParser
end