Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
JSONRPCRequest Class Reference

#include <request.h>

Collaboration diagram for JSONRPCRequest:
[legend]

Public Member Functions

 JSONRPCRequest (const util::Ref &context)
 
 JSONRPCRequest (const JSONRPCRequest &other, const util::Ref &context)
 Initializes request information from another request object and the given context. More...
 
void parse (const UniValue &valRequest)
 

Public Attributes

UniValue id
 
std::string strMethod
 
UniValue params
 
bool fHelp
 
std::string URI
 
std::string authUser
 
std::string peerAddr
 
const util::Refcontext
 

Detailed Description

Definition at line 31 of file request.h.

Constructor & Destructor Documentation

◆ JSONRPCRequest() [1/2]

JSONRPCRequest::JSONRPCRequest ( const util::Ref context)
inline

Definition at line 43 of file request.h.

◆ JSONRPCRequest() [2/2]

JSONRPCRequest::JSONRPCRequest ( const JSONRPCRequest other,
const util::Ref context 
)
inline

Initializes request information from another request object and the given context.

The implementation should be updated if any members are added or removed above.

Definition at line 48 of file request.h.

Member Function Documentation

◆ parse()

void JSONRPCRequest::parse ( const UniValue valRequest)

Definition at line 153 of file request.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ authUser

std::string JSONRPCRequest::authUser

Definition at line 39 of file request.h.

◆ context

const util::Ref& JSONRPCRequest::context

Definition at line 41 of file request.h.

◆ fHelp

bool JSONRPCRequest::fHelp

Definition at line 37 of file request.h.

◆ id

UniValue JSONRPCRequest::id

Definition at line 34 of file request.h.

◆ params

UniValue JSONRPCRequest::params

Definition at line 36 of file request.h.

◆ peerAddr

std::string JSONRPCRequest::peerAddr

Definition at line 40 of file request.h.

◆ strMethod

std::string JSONRPCRequest::strMethod

Definition at line 35 of file request.h.

◆ URI

std::string JSONRPCRequest::URI

Definition at line 38 of file request.h.


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