cpp Rest API master
C++ library for REST API access with Qt, Curl and cpp-httplib backends
 
Loading...
Searching...
No Matches
cpp_restapi::Response Struct Reference

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).
 

Detailed Description

HTTP response containing body, raw headers and the HTTP status code.

Member Data Documentation

◆ body

std::string cpp_restapi::Response::body

◆ headers

std::string cpp_restapi::Response::headers

◆ statusCode

int cpp_restapi::Response::statusCode = 0

HTTP status code (e.g. 200, 404). 0 means no response was received (network error).


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