HTTP response containing body, raw headers and the HTTP status code. More...
#include <iconnection.hpp>
Public Attributes | |
| std::string | body |
| std::string | headers |
| int | statusCode = 0 |
| HTTP status code (e.g. 200, 404). 0 means no response was received (network error). | |
HTTP response containing body, raw headers and the HTTP status code.
| std::string cpp_restapi::Response::body |
| std::string cpp_restapi::Response::headers |
| int cpp_restapi::Response::statusCode = 0 |
HTTP status code (e.g. 200, 404). 0 means no response was received (network error).