Execute a single HTTP request containing one or more JSONRPC requests. Specified jreq will be modified and status will be returned.
Declared in <httprpc.h>
UniValue
ExecuteHTTPRPC(
UniValue const& valRequest,
JSONRPCRequest& jreq,
HTTPStatusCode& status);
The JSON response, either a single result or a batch array.
| Name | Description |
|---|---|
| valRequest | The parsed JSON body, either a single request or a batch array. |
| jreq | The request context to execute against; modified in place. |
| status | Set to the HTTP status code that should be sent in the reply. |