Added constant accessors to HTTP::Downloader
This commit is contained in:
parent
66dff82144
commit
c5d0a9a8ad
2 changed files with 4 additions and 2 deletions
|
@ -39,9 +39,10 @@ namespace HTTP{
|
|||
void setHeader(const std::string &name, const std::string &val);
|
||||
void clearHeaders();
|
||||
bool canRequest(const HTTP::URL &link);
|
||||
bool completed(){return isComplete;}
|
||||
bool completed() const{return isComplete;}
|
||||
Parser &getHTTP();
|
||||
Socket::Connection &getSocket();
|
||||
const Socket::Connection &getSocket() const;
|
||||
uint32_t retryCount, dataTimeout;
|
||||
bool isProxied() const;
|
||||
const HTTP::URL & lastURL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue