| 329 | class DefaultRequestHandler: public BaseRequestHandler { |
| 330 | public: |
| 331 | UniValue PrepareRequest(const std::string& method, const std::vector<std::string>& args) override |
| 332 | { |
| 333 | UniValue params; |
| 334 | if(gArgs.GetBoolArg("-named", DEFAULT_NAMED)) { |
| 335 | params = RPCConvertNamedValues(method, args); |
| 336 | } else { |
| 337 | params = RPCConvertValues(method, args); |
| 338 | } |
| 339 | return JSONRPCRequestObj(method, params, 1); |
| 340 | } |
| 341 | |
| 342 | UniValue ProcessReply(const UniValue &reply) override |
| 343 | { |
nothing calls this directly
no test coverage detected