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

#include <request.h>

Collaboration diagram for JSONRPCRequest:

Public Member Functions

 JSONRPCRequest (const util::Ref &contextIn)
 JSONRPCRequest (const JSONRPCRequest &other, const util::Ref &contextIn)
 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 33 of file request.h.

Constructor & Destructor Documentation

◆ JSONRPCRequest() [1/2]

JSONRPCRequest::JSONRPCRequest ( const util::Ref contextIn)

Definition at line 44 of file request.h.

◆ JSONRPCRequest() [2/2]

JSONRPCRequest::JSONRPCRequest ( const JSONRPCRequest other,
const util::Ref contextIn 

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 51 of file request.h.

Member Function Documentation

◆ parse()

void JSONRPCRequest::parse ( const UniValue valRequest)

Definition at line 157 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 40 of file request.h.

◆ context

const util::Ref& JSONRPCRequest::context

Definition at line 42 of file request.h.

◆ fHelp

bool JSONRPCRequest::fHelp

Definition at line 38 of file request.h.

◆ id

UniValue JSONRPCRequest::id

Definition at line 35 of file request.h.

◆ params

UniValue JSONRPCRequest::params

Definition at line 37 of file request.h.

◆ peerAddr

std::string JSONRPCRequest::peerAddr

Definition at line 41 of file request.h.

◆ strMethod

std::string JSONRPCRequest::strMethod

Definition at line 36 of file request.h.


std::string JSONRPCRequest::URI

Definition at line 39 of file request.h.

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