1
0

Added UserData to cHTTPRequest.

Callbacks may store one pointer of per-request data in the cHTTPRequest object. The object doesn't touch this data (doesn't own it).
This commit is contained in:
madmaxoft
2013-09-27 21:38:54 +02:00
parent 5cf8fc12ae
commit c22ea7efff
2 changed files with 12 additions and 1 deletions

View File

@@ -55,7 +55,8 @@ void cHTTPMessage::AddHeader(const AString & a_Key, const AString & a_Value)
// cHTTPRequest:
cHTTPRequest::cHTTPRequest(void) :
super(mkRequest)
super(mkRequest),
m_UserData(NULL)
{
}