Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 std::any &contextIn)
 

Static Public Member Functions

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

Public Attributes

const std::any & context
 

Private Member Functions

bool ProcessHTTPRequest (HTTPRequest *request)
 

Private Attributes

Configconfig
 
RPCServerrpcServer
 

Detailed Description

Definition at line 15 of file httprpc.h.

Constructor & Destructor Documentation

◆ HTTPRPCRequestProcessor()

HTTPRPCRequestProcessor::HTTPRPCRequestProcessor ( Config configIn,
RPCServer rpcServerIn,
const std::any &  contextIn 
)
inline

Definition at line 25 of file httprpc.h.

Member Function Documentation

◆ DelegateHTTPRequest()

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

Definition at line 29 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 295 of file httprpc.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ config

Config& HTTPRPCRequestProcessor::config
private

Definition at line 17 of file httprpc.h.

◆ context

const std::any& HTTPRPCRequestProcessor::context

Definition at line 23 of file httprpc.h.

◆ rpcServer

RPCServer& HTTPRPCRequestProcessor::rpcServer
private

Definition at line 18 of file httprpc.h.


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