Construct a command from an Actor callback supporting multiple handlers.
Declared in <rpc/server.h>
CRPCCommand(
std::string category,
std::string name,
Actor actor,
std::vector<std::pair<std::string, bool>> args,
intptr_t unique_id);
| Name | Description |
|---|---|
| category | The help category the command is grouped under. |
| name | The method name clients invoke. |
| actor | The handler callback that processes the request. |
| args | Method arguments paired with whether each is named-only. |
| unique_id | Identifier used to detect aliased commands. |