#include <download.h>
|
virtual bool | SetURL (const string &url)=0 |
|
virtual void | SetCallback (DSL_Download_Callback callback, void *user_ptr=NULL)=0 |
|
virtual void | SetUserPass (const string &user, const string &pass)=0 |
|
virtual bool | Download (const string &SaveAs) |
| Begin download saving to file SaveAs.
|
|
virtual bool | Download (FILE *fWriteTo) |
| Begin download saving to FILE stream.
|
|
virtual bool | Download (DSL_FILE *fWriteTo)=0 |
|
virtual void | SetTimeout (uint32 millisec)=0 |
|
virtual void | SetUserAgent (const string &ua)=0 |
|
virtual void | FollowRedirects (bool follow)=0 |
|
virtual DSL_Download_Errors | GetError () |
|
virtual const char * | GetErrorString () |
|
This base class shouldn't be used directly.
- See also
- DSL_Download_Curl
-
DSL_Download_NoCurl
Definition at line 61 of file download.h.
◆ Download()
virtual bool DSL_Download_Base::Download |
( |
DSL_FILE * |
fWriteTo | ) |
|
|
pure virtual |
◆ SetTimeout()
virtual void DSL_Download_Base::SetTimeout |
( |
uint32 |
millisec | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: