diff options
| author | Jeff Garzik <[email protected]> | 2012-06-24 02:01:28 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-07-03 22:53:57 -0400 |
| commit | 613389019e6e3c0e903f78f6186d598c5194c395 (patch) | |
| tree | 4ee9314b7d5f8bce126101308142b5784bc7f9a2 /src/script.cpp | |
| parent | RPC: break out high level JSON-RPC req/resp into their own functions (diff) | |
| download | discoin-613389019e6e3c0e903f78f6186d598c5194c395.tar.xz discoin-613389019e6e3c0e903f78f6186d598c5194c395.zip | |
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/script.cpp')
0 files changed, 0 insertions, 0 deletions