Describes an RPC method: its name, arguments, results, examples, and handler.
Synopsis
Declared in <rpc/util.h>
class RPCMethod;
Type Aliases
Name |
Description |
The type of a function implementing an RPC method. |
Member Functions
Name |
Description |
|
Constructors |
Helper to get a required or default‐valued request argument. |
|
Return the named args that need to be converted from string to another JSON type |
|
Return list of arguments and whether they are named‐only. |
|
Return the method's arguments. |
|
Return the method description. |
|
Return the method's results. |
|
Validate the request and dispatch it to the method's implementation. |
|
If the supplied number of args is neither too small nor too high |
|
Helper to get an optional request argument. |
|
Return the rendered help text for the method. |
Data Members
Name |
Description |
The method name. |
Created with MrDocs