Context and parameters for a single JSON‐RPC request.
Synopsis
Declared in <rpc/request.h>
class JSONRPCRequest;
Enums
Name |
Description |
How the request should be handled. |
Member Functions
Name |
Description |
Report whether this request is a JSON‐RPC 2.0 notification. |
|
Parse a JSON‐RPC request object into this instance. |
Data Members
Name |
Description |
The transport URI the request arrived on. |
|
The authenticated user that made the request. |
|
Opaque per‐connection context passed to the method. |
|
The request id echoed back in the reply. |
|
The JSON‐RPC protocol version of the request. |
|
The handling mode for this request. |
|
The method parameters. |
|
The network address of the requesting peer. |
|
The requested RPC method name. |
Non-Member Functions
Name |
Description |
Execute an RPC request and return its JSON‐RPC reply. |
|
Ensures that a wallet name is specified across the endpoint and wallet_name. Throws |
|
Figures out what wallet, if any, to use for a JSONRPCRequest. |
|
Extracts the wallet name encoded in a JSON‐RPC request endpoint, if any. |
Created with MrDocs