Execute a single HTTP request containing one or more JSONRPC requests. Specified jreq will be modified and status will be returned.
Synopsis
Declared in <httprpc.h>
UniValue
ExecuteHTTPRPC(
UniValue const& valRequest,
JSONRPCRequest& jreq,
HTTPStatusCode& status);
Return Value
The JSON response, either a single result or a batch array.
Parameters
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. |
Created with MrDocs