6#include <kaycxx/http/buffered_response.hpp>
7#include <kaycxx/http/error.hpp>
11namespace kaycxx::http {
HTTP response with a buffered body.
Definition buffered_response.hpp:18
error(std::string message)
Creates an HTTP client error.
const buffered_response & response() const &noexcept
Returns the HTTP response which caused this error.
response_error(std::string message, buffered_response response)
Creates an HTTP response error.
~response_error() override
Destroys the HTTP response error.