Dash Core  0.12.2.1
P2P Digital Currency
HTTPWorkItem Class Reference
+ Inheritance diagram for HTTPWorkItem:

Public Member Functions

 HTTPWorkItem (HTTPRequest *req, const std::string &path, const HTTPRequestHandler &func)
 
void operator() ()
 
- Public Member Functions inherited from HTTPClosure
virtual ~HTTPClosure ()
 

Public Attributes

boost::scoped_ptr< HTTPRequestreq
 

Private Attributes

std::string path
 
HTTPRequestHandler func
 

Detailed Description

HTTP request work item

Definition at line 45 of file httpserver.cpp.

Constructor & Destructor Documentation

◆ HTTPWorkItem()

HTTPWorkItem::HTTPWorkItem ( HTTPRequest req,
const std::string &  path,
const HTTPRequestHandler func 
)
inline

Definition at line 48 of file httpserver.cpp.

Member Function Documentation

◆ operator()()

void HTTPWorkItem::operator() ( )
inlinevirtual

Implements HTTPClosure.

Definition at line 52 of file httpserver.cpp.

Member Data Documentation

◆ func

HTTPRequestHandler HTTPWorkItem::func
private

Definition at line 61 of file httpserver.cpp.

Referenced by operator()().

◆ path

std::string HTTPWorkItem::path
private

Definition at line 60 of file httpserver.cpp.

Referenced by operator()().

◆ req

boost::scoped_ptr<HTTPRequest> HTTPWorkItem::req

Definition at line 57 of file httpserver.cpp.

Referenced by operator()().


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