Construct a method description with an implementation handler.
Declared in <rpc/util.h>
RPCMethod(
std::string name,
std::string description,
std::vector<RPCArg> args,
RPCResults results,
RPCExamples examples,
RPCMethodImpl fun);
| Name | Description |
|---|---|
| name | The method name. |
| description | Human-readable description of the method. |
| args | The method's arguments. |
| results | The method's possible results. |
| examples | Example invocations for the help text. |
| fun | The function implementing the method. |