35 [[nodiscard]]
auto ck4ok()
const -> bool;
40 [[nodiscard]]
auto empty()
const -> bool;
59 auto getinfo(CURLINFO flag, int64_t *val) -> void;
86 auto setopt(CURLoption option, std::string_view val) -> void;
98 std::string_view file_name,
bool vmod)
110 auto errorMsg() -> std::string_view;
A simple wrapper for libcurl.
Definition cppcurl.h:18
auto getinfo(CURLINFO flag, int64_t *val) -> void
Simple encapsulation of curl_easy_getinfo().
Definition cppcurl.cpp:68
auto perform() -> void
Simple wrapping of curl_easy_perform()
Definition cppcurl.cpp:82
auto errorMsg() -> std::string_view
Simple wrapping of curl_easy_strerror()
Definition cppcurl.cpp:86
auto reset() -> void
Simple wrapping of curl_easy_reset()
Definition cppcurl.cpp:66
CPPCURL()
Definition cppcurl.cpp:24
auto store_ass2file(std::string_view url, std::string_view file_name, bool vmod) -> bool
Access the specified URL and save it to the specified file.
Definition cppcurl.cpp:92
~CPPCURL()
Definition cppcurl.cpp:26
auto setopt(CURLoption option, std::string_view val) -> void
Simple encapsulation of curl_easy_setopt().
Definition cppcurl.cpp:78
auto getinfo_from_str(CURLINFO flag, std::string &val) -> void
Simple encapsulation of curl_easy_getinfo().
Definition cppcurl.cpp:72
auto empty() const -> bool
Return (curl_ == nullptr)
Definition cppcurl.cpp:90
auto operator=(const CPPCURL &val) -> CPPCURL &
Definition cppcurl.cpp:46
auto ck4ok() const -> bool
Detecting errors in the code_ field.
Definition cppcurl.cpp:84
Definition cppcurl.cpp:15