[#RPCMethod-2constructor-05] = xref:RPCMethod.adoc[RPCMethod]::RPCMethod :relfileprefix: ../ :mrdocs: Construct a method description with an implementation handler. == Synopsis Declared in `<rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- RPCMethod( std::string name, std::string description, std::vector<RPCArg> args, xref:RPCResults.adoc[RPCResults] results, xref:RPCExamples.adoc[RPCExamples] examples, xref:RPCMethod/RPCMethodImpl.adoc[RPCMethodImpl] fun); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#