eckit::EasyCURL class

Constructors, destructors, conversion operators

EasyCURL()
~EasyCURL()

Public functions

auto GET(const std::string& url, bool stream = false) -> EasyCURLResponse
auto HEAD(const std::string& url) -> EasyCURLResponse
auto PUT(const std::string& url, const std::string& data) -> EasyCURLResponse
auto POST(const std::string& url, const std::string& data) -> EasyCURLResponse
auto DELETE(const std::string& url) -> EasyCURLResponse
void verbose(bool on)
void followLocation(bool on)
void sslVerifyPeer(bool on)
void sslVerifyHost(bool on)
void failOnError(bool on)
void useSSL(bool use)
void customRequest(const std::string&)
void headers(const EasyCURLHeaders& headers)
void userAgent(const std::string&)
void print(std::ostream&) const

Friends

auto operator<<(std::ostream& s, const EasyCURL& c) -> std::ostream&