Construct a command from a plain RpcMethodFnType factory function pointer.
Synopsis
Declared in <rpc/server.h>
CRPCCommand(
std::string category,
RpcMethodFnType fn);
Parameters
Name |
Description |
category |
The help category the command is grouped under. |
fn |
Factory returning the method metadata and request handler. |
Created with MrDocs