#include <curl/curl.h>
#include <stdexcept>
#include <functional>
#include <memory>
#include <iostream>
#include <vector>
#include <string>
Go to the source code of this file.
Namespaces | |
curlite | |
Typedefs | |
typedef Handler< curl_chunk_bgn_callback >::type | curlite::ChunkBeginHandler |
typedef Handler< curl_chunk_end_callback >::type | curlite::ChunkEndHandler |
typedef Handler< curl_closesocket_callback >::type | curlite::CloseSocketHandler |
typedef Handler< curl_conv_callback >::type | curlite::ConvHandler |
typedef Handler< curl_debug_callback >::type | curlite::DebugHandler |
typedef Handler< curl_fnmatch_callback >::type | curlite::FnMatchHandler |
typedef Handler< curl_formget_callback >::type | curlite::FormGetHandler |
typedef Handler< curl_ioctl_callback >::type | curlite::IoctlHandler |
typedef Handler< curl_opensocket_callback >::type | curlite::OpenSocketHandler |
typedef Handler< curl_progress_callback >::type | curlite::ProgressHandler |
typedef Handler< curl_read_callback >::type | curlite::ReadHandler |
typedef Handler< curl_seek_callback >::type | curlite::SeekHandler |
typedef Handler< curl_sockopt_callback >::type | curlite::SockOptHandler |
typedef Handler< curl_ssl_ctx_callback >::type | curlite::SslContextHandler |
typedef Handler< curl_write_callback >::type | curlite::WriteHandler |
typedef Handler< curl_xferinfo_callback >::type | curlite::XferInfoHandler |
Functions | |
Easy | curlite::download (std::string const &url, std::ostream &ostr, bool followRedirect=true, bool throwExceptions=true) |
void | curlite::global_cleanup () |
bool | curlite::global_init (long flags=CURL_GLOBAL_ALL) |
std::ostream & | curlite::operator<< (std::ostream &stream, Easy &curlite) |
std::istream & | curlite::operator>> (std::istream &stream, Easy &curlite) |
Easy | curlite::upload (std::istream &istr, std::string const &url, std::string const &username="", std::string const &password="", curl_off_t size=-1, bool throwExceptions=true) |
std::string | curlite::version () |
curl_version_info_data * | curlite::versionInfo (CURLversion type=CURLVERSION_NOW) |
Variables | |
static const int | curlite::kCurlOptTypeInterval = CURLOPTTYPE_OBJECTPOINT - CURLOPTTYPE_LONG |