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

#include <request.h>

Collaboration diagram for JSONRPCRequest:
[legend]

Public Types

enum  Mode { EXECUTE , GET_HELP , GET_ARGS }
 

Public Member Functions

void parse (const UniValue &valRequest)
 

Public Attributes

UniValue id
 
std::string strMethod
 
UniValue params
 
enum JSONRPCRequest::Mode mode = EXECUTE
 
std::string URI
 
std::string authUser
 
std::string peerAddr
 
std::any context
 

Detailed Description

Definition at line 30 of file request.h.

Member Enumeration Documentation

◆ Mode

Enumerator
EXECUTE 
GET_HELP 
GET_ARGS 

Definition at line 35 of file request.h.

Member Function Documentation

◆ parse()

void JSONRPCRequest::parse ( const UniValue valRequest)

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

◆ context

std::any JSONRPCRequest::context

Definition at line 39 of file request.h.

◆ id

UniValue JSONRPCRequest::id

Definition at line 32 of file request.h.

◆ mode

enum JSONRPCRequest::Mode JSONRPCRequest::mode = EXECUTE

◆ params

UniValue JSONRPCRequest::params

Definition at line 34 of file request.h.

◆ peerAddr

std::string JSONRPCRequest::peerAddr

Definition at line 38 of file request.h.

◆ strMethod

std::string JSONRPCRequest::strMethod

Definition at line 33 of file request.h.

◆ URI

std::string JSONRPCRequest::URI

Definition at line 36 of file request.h.


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