Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
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:
[legend]

Public Member Functions

virtual ~BaseRequestHandler ()=default
 
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 258 of file bitcoin-cli.cpp.

Constructor & Destructor Documentation

◆ ~BaseRequestHandler()

virtual BaseRequestHandler::~BaseRequestHandler ( )
virtualdefault

Member Function Documentation

◆ PrepareRequest()

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

◆ ProcessReply()

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

The documentation for this class was generated from the following file: