supertux
Public Member Functions | List of all members
Downloader Class Referencefinal

Public Member Functions

std::string download (const std::string &url)
 Download url and return the result as string.
 
void download (const std::string &url, const std::string &filename)
 Download url and store the result in filename.
 
void download (const std::string &url, size_t(*write_func)(void *ptr, size_t size, size_t nmemb, void *userdata), void *userdata)
 
void update ()
 
TransferStatusPtr request_download (const std::string &url, const std::string &filename)
 
void abort (TransferId id)
 

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