6#include <boost/beast/http/status.hpp>
55 boost::beast::http::status
code()
const;
61 boost::beast::http::status
proxyCode()
const;
69 explicit operator bool()
const;
Definition instance.hpp:11
Definition request.hpp:36
This class is returned by a Request class when the request is performed.
Definition response.hpp:16
std::string redirectUrl() const
The redirect url if the response was a redirect.
Definition response.cpp:19
boost::beast::http::status proxyCode() const
Response code of the proxy if there was one inbetween.
Definition response.cpp:51
boost::beast::http::status code() const
Response code.
Definition response.cpp:43
Instance instance_
Definition response.hpp:72
long long sizeOfUpload() const
The size of the uploaded data.
Definition response.cpp:35
CURLcode code_
Definition response.hpp:73
long long sizeOfDownload() const
The size of the downloaded data.
Definition response.cpp:27
CURLcode result() const
The CURLcode. Can be useful to check for errors.
Definition response.cpp:15
Definition curl_error.hpp:9