Class: XMLRPC::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/xmlrpc-streaming.rb

Instance Method Summary collapse

Instance Method Details

#call2(method, *args) ⇒ Object



127
128
129
130
# File 'lib/xmlrpc-streaming.rb', line 127

def call2(method, *args)
  data = do_rpc(false,method,*args)
  parser().parseMethodResponse(data)
end

#call2_async(method, *args) ⇒ Object



122
123
124
125
# File 'lib/xmlrpc-streaming.rb', line 122

def call2_async(method, *args)
  data = do_rpc(true,method,*args)
  parser().parseMethodResponse(data)
end

#set_debug_stream(stream) ⇒ Object

set_debug_stream stream

will enable HTTP debuggin to the passed in stream


118
119
120
# File 'lib/xmlrpc-streaming.rb', line 118

def set_debug_stream(stream)
  @debug_stream = stream
end