DSL
Public Member Functions | List of all members
DSL_Download_NoCurl Class Reference
Inheritance diagram for DSL_Download_NoCurl:
Inheritance graph
[legend]
Collaboration diagram for DSL_Download_NoCurl:
Collaboration graph
[legend]

Public Member Functions

 DSL_Download_NoCurl (const char *url, DSL_Download_Callback callback=NULL, const char *user=NULL, const char *pass=NULL, void *user_ptr=NULL)
 
 DSL_Download_NoCurl (DSL_Download_Type type, const char *host, int port, const char *path, DSL_Download_Callback callback=NULL, const char *user=NULL, const char *pass=NULL, void *user_ptr=NULL)
 
virtual bool Download (const char *SaveAs)
 Begin download saving to file SaveAs.
 
virtual bool Download (FILE *fWriteTo)
 Begin download saving to FILE stream.
 
virtual bool Download (DSL_FILE *fWriteTo)
 
virtual void SetTimeout (unsigned long millisec)
 
virtual void SetUserAgent (const char *ua)
 
virtual void FollowRedirects (bool follow)
 
virtual void ErrorOnRedirects (bool error)
 
- Public Member Functions inherited from DSL_Download_Core
 DSL_Download_Core (const char *url, DSL_Download_Callback callback=NULL, const char *user=NULL, const char *pass=NULL, void *user_ptr=NULL)
 
 DSL_Download_Core (DSL_Download_Type type, const char *host, int port, const char *path, DSL_Download_Callback callback=NULL, const char *user=NULL, const char *pass=NULL, void *user_ptr=NULL)
 
virtual DSL_Download_Errors GetError ()
 
virtual const char * GetErrorString ()
 

Additional Inherited Members

- Protected Attributes inherited from DSL_Download_Core
DSL_Download_Callback callback
 
void * u_ptr
 Pointer set by you and will be sent to your callback function for your own use.
 
DSL_Download_Errors error
 

Member Function Documentation

◆ Download()

bool DSL_Download_NoCurl::Download ( DSL_FILE fWriteTo)
virtual

Begin download saving to DSL_FILE stream.

See also
DSL_FILE

Implements DSL_Download_Core.


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