diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-06-24 02:01:28 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-07-03 22:53:57 -0400 |
commit | 613389019e6e3c0e903f78f6186d598c5194c395 (patch) | |
tree | 4ee9314b7d5f8bce126101308142b5784bc7f9a2 /src/net.h | |
parent | c6494d82fa31913eb075b222293e87ae40c9f9b2 (diff) |
RPC: add support for JSON-RPC 2.0-style request batching
If the top-level object is an array, it is assumed to be an array of
JSON-RPC requests. An array is returned, containing one response (error or
not) per request, in the order submitted.
In a slight change in semantics, batched requests -always- return
an HTTP 200 OK status, even ones full of invalid or incorrect requests.
Diffstat (limited to 'src/net.h')
0 files changed, 0 insertions, 0 deletions