Public Types | |
typedef RefCount< DownloaderContext > | Pointer |
Public Member Functions | |
DownloaderContext (Downloader *dl, ClientHttpRequest *h) | |
~DownloaderContext () override | |
void | finished () |
Public Attributes | |
CbcPointer< Downloader > | downloader |
ClientHttpRequest * | http |
char | requestBuffer [HTTP_REQBUF_SZ] |
Private Member Functions | |
MEMPROXY_CLASS (DownloaderContext) | |
Detailed Description
Used to hold and pass the required info and buffers to the clientStream callbacks
Definition at line 24 of file Downloader.cc.
Member Typedef Documentation
◆ Pointer
Definition at line 29 of file Downloader.cc.
Constructor & Destructor Documentation
◆ DownloaderContext()
DownloaderContext::DownloaderContext | ( | Downloader * | dl, |
ClientHttpRequest * | h | ||
) |
Definition at line 40 of file Downloader.cc.
References debugs.
◆ ~DownloaderContext()
|
override |
Definition at line 47 of file Downloader.cc.
References debugs, finished(), and http.
Member Function Documentation
◆ finished()
void DownloaderContext::finished | ( | ) |
Definition at line 55 of file Downloader.cc.
References http.
Referenced by ~DownloaderContext(), and Downloader::swanSong().
◆ MEMPROXY_CLASS()
|
private |
Member Data Documentation
◆ downloader
CbcPointer<Downloader> DownloaderContext::downloader |
Definition at line 35 of file Downloader.cc.
Referenced by downloaderRecipient().
◆ http
ClientHttpRequest* DownloaderContext::http |
Definition at line 36 of file Downloader.cc.
Referenced by ~DownloaderContext(), and finished().
◆ requestBuffer
char DownloaderContext::requestBuffer[HTTP_REQBUF_SZ] |
Definition at line 37 of file Downloader.cc.
Referenced by Downloader::buildRequest(), and Downloader::handleReply().
The documentation for this class was generated from the following file:
- src/Downloader.cc