1#ifndef FORGEANT_HTTP_CURL_CLIENT_HPP
2#define FORGEANT_HTTP_CURL_CLIENT_HPP
26 const std::string& body)
override;
29 const std::string& body)
override;
Definition curl_client.hpp:9
CurlHttpClient(CurlHttpClient &&other) noexcept
HttpResponse post(const std::string &url, const HttpHeaders &headers, const std::string &body) override
std::future< HttpResponse > async_post(const std::string &url, const HttpHeaders &headers, const std::string &body) override
CurlHttpClient & operator=(CurlHttpClient &&other) noexcept
CurlHttpClient & operator=(const CurlHttpClient &)=delete
HttpResponse post_stream(const std::string &url, const HttpHeaders &headers, const std::string &body, StreamCallback on_chunk) override
~CurlHttpClient() override
CurlHttpClient(const CurlHttpClient &)=delete
CurlHttpClient(Config config)
std::unordered_map< std::string, std::string > HttpHeaders
Definition client.hpp:13
std::function< bool(std::string_view)> StreamCallback
Definition client.hpp:14
Definition curl_client.hpp:11
std::chrono::seconds transfer_timeout
Definition curl_client.hpp:13
std::chrono::seconds connect_timeout
Definition curl_client.hpp:12
Definition response.hpp:9