Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

BaseRequestHandler Class Referenceabstract

Class that handles the conversion from a command-line to a JSON-RPC request, as well as converting back to a JSON object that can be shown as result. More...

+ Inheritance diagram for BaseRequestHandler:

Public Member Functions

virtual UniValue PrepareRequest (const std::string &method, const std::vector< std::string > &args)=0
 
virtual UniValue ProcessReply (const UniValue &batch_in)=0
 

Detailed Description

Class that handles the conversion from a command-line to a JSON-RPC request, as well as converting back to a JSON object that can be shown as result.

Definition at line 212 of file dash-cli.cpp.

Member Function Documentation

◆ PrepareRequest()

virtual UniValue BaseRequestHandler::PrepareRequest ( const std::string &  method,
const std::vector< std::string > &  args 
)
pure virtual

Implemented in DefaultRequestHandler, and GetinfoRequestHandler.

Referenced by CallRPC().

◆ ProcessReply()

virtual UniValue BaseRequestHandler::ProcessReply ( const UniValue batch_in)
pure virtual

Implemented in DefaultRequestHandler, and GetinfoRequestHandler.

Referenced by CallRPC().


The documentation for this class was generated from the following file:
Released under the MIT license