| 696 | class DefaultRequestHandler: public BaseRequestHandler { |
| 697 | public: |
| 698 | UniValue PrepareRequest(const std::string& method, const std::vector<std::string>& args) override |
| 699 | { |
| 700 | UniValue params; |
| 701 | if(gArgs.GetBoolArg("-named", DEFAULT_NAMED)) { |
| 702 | params = RPCConvertNamedValues(method, args); |
| 703 | } else { |
| 704 | params = RPCConvertValues(method, args); |
| 705 | } |
| 706 | return JSONRPCRequestObj(method, params, 1); |
| 707 | } |
| 708 | |
| 709 | UniValue ProcessReply(const UniValue &reply) override |
| 710 | { |
nothing calls this directly
no test coverage detected