HTTP response structure containing status, body, and headers. More...
#include <http_client.h>
Public Member Functions | |
| bool | IsSuccess () const |
| bool | IsClientError () const |
| bool | IsServerError () const |
Public Attributes | |
| int | status_code = 0 |
| std::string | body |
| Headers | headers |
HTTP response structure containing status, body, and headers.
Definition at line 22 of file http_client.h.
|
inline |
Definition at line 27 of file http_client.h.
References status_code.
|
inline |
Definition at line 31 of file http_client.h.
References status_code.
|
inline |
Definition at line 35 of file http_client.h.
References status_code.
| int yaze::net::HttpResponse::status_code = 0 |
Definition at line 23 of file http_client.h.
Referenced by yaze::net::HttpLibClient::Delete(), yaze::net::HttpLibClient::Get(), IsClientError(), IsServerError(), IsSuccess(), yaze::net::HttpLibClient::Post(), and yaze::net::HttpLibClient::Put().
| std::string yaze::net::HttpResponse::body |
Definition at line 24 of file http_client.h.
Referenced by yaze::net::HttpLibClient::Delete(), yaze::net::HttpLibClient::Get(), yaze::net::HttpLibClient::Post(), and yaze::net::HttpLibClient::Put().
| Headers yaze::net::HttpResponse::headers |
Definition at line 25 of file http_client.h.
Referenced by yaze::net::HttpLibClient::Delete(), yaze::net::HttpLibClient::Get(), yaze::net::HttpLibClient::Post(), and yaze::net::HttpLibClient::Put().