1 #ifndef RECODEX_BROKER_HELPERS_CURL_H 2 #define RECODEX_BROKER_HELPERS_CURL_H 12 typedef std::map<std::string, std::string> curl_params;
20 std::string get_http_query(
const curl_params ¶ms);
33 std::string curl_get(
const std::string &url,
35 const curl_params ¶ms,
36 const std::string &username =
"",
37 const std::string &passwd =
"");
50 std::string curl_post(
const std::string &url,
52 const curl_params ¶ms,
53 const std::string &username =
"",
54 const std::string &passwd =
"");
88 virtual const char *
what() const noexcept
100 #endif // RECODEX_BROKER_HELPERS_CURL_H
curl_exception(const std::string &what)
virtual const char * what() const noexcept
virtual ~curl_exception()