This patch adds support for the system.multicall() RPC
call to both the client and the server.
The purpose of system.multicall() is to support
boxcarring of multiple RPC calls within a single HTTP
request. See
http://www.xmlrpc.com/discuss/msgReader$1208 for
further details.
These patches:
Add the system.multicall() procedure to the server.
Extends the functionality of the xmlrpc_client::send
method.
With this patch, the first argument of
xmlrpc_client::send() (normally an instance of
xmlrpcmsg) can be an array of xmlrpcmsg's. In that
case the client will attempt to execute all of the
procedure calls with a single HTTP request. (The
client will fall back to multiple HTTP requests if the
server does not support system.multicall.) The return
value from xmlrpc_client::send() in this case will be
an array of xmlrpcresp's (or 0 upon transport failure,
e.g. HTTP timeout.)
Anonymous
Patches to support system.multicall()
Logged In: YES
user_id=45814
BTW, Patches are on xmlrpc-1.02.
Logged In: YES
user_id=45814
I'm adding a second set of patches. No real changes, except
for the addition of some test cases in in testsuite.php.
And the diffs are computed from the current CVS version of
the code.
Patches from CVS code (as of 14 Sep 2002)
Logged In: YES
user_id=114789
This has probably been incorporated a long time ago...
I' closing it now.
Feel free to reopen if the there is some extra functionality
not implemented in current version.