|
enum | status { status_none,
status_inprogress,
status_done,
status_error
} |
|
typedef Closure< void(MyHttp *)> | DownloadDoneCallback |
|
typedef Closure< void(MyHttp *)> | ErrorCallback |
|
typedef Closure< void(MyHttp *, int)> | ProgressCallback |
|
|
void | getFile (const std::string &url, const std::string &name) |
|
void | get (const std::string &url) |
|
void | post (const std::string &url, const char *data, int size) |
|
std::vector< unsigned char > & | getBuffer () |
|
status | getStatus () const |
|
unsigned int | getTotalSize () const |
|
unsigned int | getReceivedSize () const |
|
int | getResponseCode () const |
|
|
DownloadDoneCallback | _cbDone |
|
ProgressCallback | _cbProgress |
|
ErrorCallback | _cbError |
|
The documentation for this class was generated from the following file: