WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
HttpClient::Response Struct Reference

Simple HTTP response containing status, body, and error info. More...

#include <HttpClient.h>

Public Attributes

int statusCode = 0
 HTTP status code (e.g. 200, 404).
 
std::string body
 Response body.
 
std::string error
 Error message (empty on success).
 
bool success = false
 True if the request completed without error.
 

Detailed Description

Simple HTTP response containing status, body, and error info.

Definition at line 31 of file HttpClient.h.

Member Data Documentation

◆ body

std::string HttpClient::Response::body

Response body.

Definition at line 34 of file HttpClient.h.

◆ error

std::string HttpClient::Response::error

Error message (empty on success).

Definition at line 35 of file HttpClient.h.

◆ statusCode

int HttpClient::Response::statusCode = 0

HTTP status code (e.g. 200, 404).

Definition at line 33 of file HttpClient.h.

◆ success

bool HttpClient::Response::success = false

True if the request completed without error.

Definition at line 36 of file HttpClient.h.


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