[#CRPCCommand-2constructor-04] = xref:CRPCCommand.adoc[CRPCCommand]::CRPCCommand :relfileprefix: ../ :mrdocs: Construct a command from an Actor callback supporting multiple handlers. == Synopsis Declared in `<rpc/server.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CRPCCommand( std::string category, std::string name, xref:CRPCCommand/Actor-05.adoc[Actor] actor, std::vector<std::pair<std::string, bool>> args, intptr_t unique_id); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#