Bitcoin ABC  0.26.3
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:

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


Detailed Description

Definition at line 15 of file httprpc.h.

Constructor & Destructor Documentation

◆ HTTPRPCRequestProcessor()

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

Definition at line 25 of file httprpc.h.

Member Function Documentation

◆ DelegateHTTPRequest()

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

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)

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

Definition at line 289 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

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

Definition at line 18 of file httprpc.h.

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