#include <string>
#include <atomic>
#include <boost/filesystem.hpp>
#include <boost/thread/thread.hpp>
#include "file_io_utils.h"
#include "net/http_client.h"
#include "download.h"
Go to the source code of this file.
|
| bool | tools::download (const std::string &path, const std::string &url, std::function< bool(const std::string &, const std::string &, size_t, ssize_t)> cb) |
| |
| download_async_handle | tools::download_async (const std::string &path, const std::string &url, std::function< void(const std::string &, const std::string &, bool)> result, std::function< bool(const std::string &, const std::string &, size_t, ssize_t)> progress) |
| |
| bool | tools::download_finished (const download_async_handle &control) |
| |
| bool | tools::download_error (const download_async_handle &control) |
| |
| bool | tools::download_wait (const download_async_handle &control) |
| |
| bool | tools::download_cancel (const download_async_handle &control) |
| |
◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "net.dl" |