Top-level RAII wrapper for curl. Use if libcurl initialization/shutdown is not already handled. More...
#include <kcurl/curl.hpp>
Public Types | |
| enum | Feature : std::uint8_t { None = 0 , TLS = 1 << 0 , IPv6 = 1 << 1 , Win32Unicode = 1 << 2 , UnixSockets = 1 << 3 , Http2 = 1 << 4 , Http3 = 1 << 5 , LargeFile = 1 << 6 } |
Public Member Functions | |
| Curl (Curl const &)=delete | |
| Curl (Curl &&)=delete | |
| Curl & | operator= (Curl const &)=delete |
| Curl & | operator= (Curl &&)=delete |
| Curl (long flags=default_flags()) | |
| ~Curl () | |
| auto | get_features () const -> Feature |
Static Public Member Functions | |
| static auto | default_flags () -> long |
Top-level RAII wrapper for curl. Use if libcurl initialization/shutdown is not already handled.
| enum kcurl::Curl::Feature : std::uint8_t |
|
delete |
|
delete |
|
explicit |
| kcurl::Curl::~Curl | ( | ) |
|
static |
| auto kcurl::Curl::get_features | ( | ) | const -> Feature |