List of method arguments and whether they are named‐only. Incoming RPC requests contain a "params" field that can either be an array containing unnamed arguments or an object containing named arguments. The "argNames" vector is used in the latter case to transform the params object into an array. Each argument in "argNames" gets mapped to a unique position in the array, based on the order it is listed, unless the argument is a named‐only argument with argNames[x].second set to true. Named‐only arguments are combined into a JSON object that is appended after other arguments, see transformNamedArguments for details.
Synopsis
Declared in <rpc/server.h>
std::vector<std::pair<std::string, bool>> argNames;
Created with MrDocs