yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::net::HttpResponse Struct Reference

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
 

Detailed Description

HTTP response structure containing status, body, and headers.

Definition at line 22 of file http_client.h.

Member Function Documentation

◆ IsSuccess()

bool yaze::net::HttpResponse::IsSuccess ( ) const
inline

Definition at line 27 of file http_client.h.

References status_code.

◆ IsClientError()

bool yaze::net::HttpResponse::IsClientError ( ) const
inline

Definition at line 31 of file http_client.h.

References status_code.

◆ IsServerError()

bool yaze::net::HttpResponse::IsServerError ( ) const
inline

Definition at line 35 of file http_client.h.

References status_code.

Member Data Documentation

◆ status_code

◆ body

std::string yaze::net::HttpResponse::body

◆ headers


The documentation for this struct was generated from the following file: