Constructors
Synopses
Declared in <rpc/util.h>
Construct a method description without an implementation handler.
RPCMethod(
std::string name,
std::string description,
std::vector<RPCArg> args,
RPCResults results,
RPCExamples examples);
Construct a method description with an implementation handler.
RPCMethod(
std::string name,
std::string description,
std::vector<RPCArg> args,
RPCResults results,
RPCExamples examples,
RPCMethodImpl fun);
Parameters
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. |
Created with MrDocs