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

#include <httprpc.h>

Collaboration diagram for HTTPRPCRequestProcessor:
[legend]

Public Member Functions

 HTTPRPCRequestProcessor (Config &configIn, RPCServer &rpcServerIn, const util::Ref &contextIn)
 

Static Public Member Functions

static bool DelegateHTTPRequest (HTTPRPCRequestProcessor *requestProcessor, HTTPRequest *request)
 

Public Attributes

const util::Refcontext
 

Private Member Functions

bool ProcessHTTPRequest (HTTPRequest *request)
 

Private Attributes

Configconfig
 
RPCServerrpcServer
 

Detailed Description

Definition at line 17 of file httprpc.h.

Constructor & Destructor Documentation

◆ HTTPRPCRequestProcessor()

HTTPRPCRequestProcessor::HTTPRPCRequestProcessor ( Config configIn,
RPCServer rpcServerIn,
const util::Ref contextIn 
)
inline

Definition at line 27 of file httprpc.h.

Member Function Documentation

◆ DelegateHTTPRequest()

static bool HTTPRPCRequestProcessor::DelegateHTTPRequest ( HTTPRPCRequestProcessor requestProcessor,
HTTPRequest request 
)
inlinestatic

Definition at line 31 of file httprpc.h.

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

◆ ProcessHTTPRequest()

bool HTTPRPCRequestProcessor::ProcessHTTPRequest ( HTTPRequest request)
private

Deter brute-forcing. If this results in a DoS the user really shouldn't have their RPC port exposed.

Definition at line 288 of file httprpc.cpp.

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

Member Data Documentation

◆ config

Config& HTTPRPCRequestProcessor::config
private

Definition at line 19 of file httprpc.h.

◆ context

const util::Ref& HTTPRPCRequestProcessor::context

Definition at line 25 of file httprpc.h.

◆ rpcServer

RPCServer& HTTPRPCRequestProcessor::rpcServer
private

Definition at line 20 of file httprpc.h.


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