RPCMethod::RPCMethod

Construct a method description without an implementation handler.

Synopsis

Declared in <rpc/util.h>

RPCMethod(
    std::string name,
    std::string description,
    std::vector<RPCArg> args,
    RPCResults results,
    RPCExamples examples);

Parameters

NameDescription
nameThe method name.
descriptionHuman-readable description of the method.
argsThe method's arguments.
resultsThe method's possible results.
examplesExample invocations for the help text.