Typedefs | |
typedef Handler< curl_chunk_bgn_callback >::type | ChunkBeginHandler |
typedef Handler< curl_chunk_end_callback >::type | ChunkEndHandler |
typedef Handler< curl_closesocket_callback >::type | CloseSocketHandler |
typedef Handler< curl_conv_callback >::type | ConvHandler |
typedef Handler< curl_debug_callback >::type | DebugHandler |
typedef Handler< curl_fnmatch_callback >::type | FnMatchHandler |
typedef Handler< curl_formget_callback >::type | FormGetHandler |
typedef Handler< curl_ioctl_callback >::type | IoctlHandler |
typedef Handler< curl_opensocket_callback >::type | OpenSocketHandler |
typedef Handler< curl_progress_callback >::type | ProgressHandler |
typedef Handler< curl_read_callback >::type | ReadHandler |
typedef Handler< curl_seek_callback >::type | SeekHandler |
typedef Handler< curl_sockopt_callback >::type | SockOptHandler |
typedef Handler< curl_ssl_ctx_callback >::type | SslContextHandler |
typedef Handler< curl_write_callback >::type | WriteHandler |
typedef Handler< curl_xferinfo_callback >::type | XferInfoHandler |
Functions | |
Easy | download (std::string const &url, std::ostream &ostr, bool followRedirect=true, bool throwExceptions=true) |
void | global_cleanup () |
bool | global_init (long flags=CURL_GLOBAL_ALL) |
std::ostream & | operator<< (std::ostream &stream, Easy &curlite) |
std::istream & | operator>> (std::istream &stream, Easy &curlite) |
Easy | 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 | version () |
curl_version_info_data * | versionInfo (CURLversion type=CURLVERSION_NOW) |
Variables | |
static const int | kCurlOptTypeInterval = CURLOPTTYPE_OBJECTPOINT - CURLOPTTYPE_LONG |
typedef Handler<curl_chunk_bgn_callback>::type curlite::ChunkBeginHandler |
Definition at line 52 of file curlite.hpp.
typedef Handler<curl_chunk_end_callback>::type curlite::ChunkEndHandler |
Definition at line 53 of file curlite.hpp.
typedef Handler<curl_closesocket_callback>::type curlite::CloseSocketHandler |
Definition at line 59 of file curlite.hpp.
typedef Handler<curl_conv_callback>::type curlite::ConvHandler |
Definition at line 62 of file curlite.hpp.
typedef Handler<curl_debug_callback>::type curlite::DebugHandler |
Definition at line 61 of file curlite.hpp.
typedef Handler<curl_fnmatch_callback>::type curlite::FnMatchHandler |
Definition at line 54 of file curlite.hpp.
typedef Handler<curl_formget_callback>::type curlite::FormGetHandler |
Definition at line 64 of file curlite.hpp.
typedef Handler<curl_ioctl_callback>::type curlite::IoctlHandler |
Definition at line 60 of file curlite.hpp.
typedef Handler<curl_opensocket_callback>::type curlite::OpenSocketHandler |
Definition at line 58 of file curlite.hpp.
typedef Handler<curl_progress_callback>::type curlite::ProgressHandler |
Definition at line 49 of file curlite.hpp.
typedef Handler<curl_read_callback>::type curlite::ReadHandler |
Definition at line 56 of file curlite.hpp.
typedef Handler<curl_seek_callback>::type curlite::SeekHandler |
Definition at line 55 of file curlite.hpp.
typedef Handler<curl_sockopt_callback>::type curlite::SockOptHandler |
Definition at line 57 of file curlite.hpp.
typedef Handler<curl_ssl_ctx_callback>::type curlite::SslContextHandler |
Definition at line 63 of file curlite.hpp.
typedef Handler<curl_write_callback>::type curlite::WriteHandler |
Definition at line 51 of file curlite.hpp.
typedef Handler<curl_xferinfo_callback>::type curlite::XferInfoHandler |
Definition at line 50 of file curlite.hpp.
Easy curlite::download | ( | std::string const & | url, |
std::ostream & | ostr, | ||
bool | followRedirect = true , |
||
bool | throwExceptions = true |
||
) |
Definition at line 848 of file curlite.cpp.
void curlite::global_cleanup | ( | ) |
Definition at line 833 of file curlite.cpp.
bool curlite::global_init | ( | long | flags = CURL_GLOBAL_ALL | ) |
Definition at line 828 of file curlite.cpp.
std::ostream & curlite::operator<< | ( | std::ostream & | stream, |
Easy & | curlite | ||
) |
Definition at line 678 of file curlite.cpp.
std::istream & curlite::operator>> | ( | std::istream & | stream, |
Easy & | curlite | ||
) |
Definition at line 684 of file curlite.cpp.
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 |
||
) |
Definition at line 860 of file curlite.cpp.
std::string curlite::version | ( | ) |
Definition at line 838 of file curlite.cpp.
curl_version_info_data * curlite::versionInfo | ( | CURLversion | type = CURLVERSION_NOW | ) |
Definition at line 843 of file curlite.cpp.
|
static |
Definition at line 258 of file curlite.hpp.