multicall2_async

multicall2_async(*methods) Instance Public methods Same as #multicall2, but can be called concurrently. See also #multicall_async

multicall2

multicall2(*methods) Instance Public methods Same as #multicall, but returns two parameters instead of raising an XMLRPC::FaultException. See #call2

multicall

multicall(*methods) Instance Public methods You can use this method to execute several methods on a XMLRPC server which support the multi-call extension. s.multicall( ['michael.add', 3, 4], ['michael.sub', 4, 5] ) # => [7, -1]

call_async

call_async(method, *args) Instance Public methods Similar to #call, however can be called concurrently and use a new connection for each request. In contrast to the corresponding method without the _async suffix, which use connect-alive (one connection for all requests). Note, that you have to use Thread to call these methods concurrently. The following example calls two methods concurrently: Thread.new { p client.call_async("michael.add", 4, 5) } Thread.new { p client.call_as

call2_async

call2_async(method, *args) Instance Public methods Same as #call2, but can be called concurrently. See also #call_async

call2

call2(method, *args) Instance Public methods The difference between this method and #call is, that this method will NOT raise a XMLRPC::FaultException exception. The method returns an array of two values. The first value indicates if the second value is true or an XMLRPC::FaultException. Both are explained in #call. Simple to remember: The â2â in âcall2â denotes the number of values it returns.

call

call(method, *args) Instance Public methods Invokes the method named method with the parameters given by args on the XML-RPC server. The method parameter is converted into a String and should be a valid XML-RPC method-name. Each parameter of args must be of one of the following types, where Hash, Struct and Array can contain any of these listed types: Fixnum, Bignum TrueClass, FalseClass, true, false String, Symbol Float Hash, Struct Array Date, Time, XMLRPC::DateTime

new_from_uri

new_from_uri(uri, proxy=nil, timeout=nil) Class Public methods Alias for: new2

new_from_hash

new_from_hash(hash={}) Class Public methods Alias for: new3

new3

new3(hash={}) Class Public methods Receives a Hash and calls ::new with the corresponding values. The hash parameter has following case-insensitive keys: host path port proxy_host proxy_port user password use_ssl timeout new_from_hash