New in version 2.4.
In http://www.xmlrpc.com/discuss/msgReader%241208, an approach is presented to encapsulate multiple calls to a remote server into a single request.
Create an object used to boxcar method calls. server is the
eventual target of the call. Calls can be made to the result object,
but they will immediately return
None, and only store the
call name and parameters in the MultiCall object. Calling
the object itself causes all stored calls to be transmitted as
system.multicall request. The result of this call
is a generator; iterating over this generator yields the individual
A usage example of this class is
multicall = MultiCall(server_proxy) multicall.add(2,3) multicall.get_address("Guido") add_result, address = multicall()
See About this document... for information on suggesting changes.