Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
HTTPWorkItem Class Referencefinal

HTTP request work item. More...

Inheritance diagram for HTTPWorkItem:
[legend]
Collaboration diagram for HTTPWorkItem:
[legend]

Public Member Functions

 HTTPWorkItem (Config &_config, std::unique_ptr< HTTPRequest > _req, const std::string &_path, const HTTPRequestHandler &_func)
 
void operator() () override
 
- Public Member Functions inherited from HTTPClosure
virtual ~HTTPClosure ()
 

Public Attributes

std::unique_ptr< HTTPRequestreq
 

Private Attributes

std::string path
 
HTTPRequestHandler func
 
Configconfig
 

Detailed Description

HTTP request work item.

Definition at line 49 of file httpserver.cpp.

Constructor & Destructor Documentation

◆ HTTPWorkItem()

HTTPWorkItem::HTTPWorkItem ( Config _config,
std::unique_ptr< HTTPRequest _req,
const std::string &  _path,
const HTTPRequestHandler _func 
)
inline

Definition at line 51 of file httpserver.cpp.

Member Function Documentation

◆ operator()()

void HTTPWorkItem::operator() ( )
inlineoverridevirtual

Implements HTTPClosure.

Definition at line 55 of file httpserver.cpp.

Member Data Documentation

◆ config

Config* HTTPWorkItem::config
private

Definition at line 62 of file httpserver.cpp.

◆ func

HTTPRequestHandler HTTPWorkItem::func
private

Definition at line 61 of file httpserver.cpp.

◆ path

std::string HTTPWorkItem::path
private

Definition at line 60 of file httpserver.cpp.

◆ req

std::unique_ptr<HTTPRequest> HTTPWorkItem::req

Definition at line 57 of file httpserver.cpp.


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