RADLib
RADical C++ application framework
RADNet::RADHttpResponse Struct Reference

HTTP response data returned by RADHttpClient. More...

#include <RADNet.h>

Public Attributes

int statusCode = 0
 Numeric HTTP status code. More...
 
std::string reasonPhrase
 HTTP reason phrase, when provided by the server. More...
 
std::map< std::string, std::string > headers
 Response headers keyed by header name. More...
 
std::string body
 Response body as text bytes. More...
 

Detailed Description

HTTP response data returned by RADHttpClient.

Member Data Documentation

◆ body

std::string RADNet::RADHttpResponse::body

Response body as text bytes.

◆ headers

std::map<std::string, std::string> RADNet::RADHttpResponse::headers

Response headers keyed by header name.

◆ reasonPhrase

std::string RADNet::RADHttpResponse::reasonPhrase

HTTP reason phrase, when provided by the server.

◆ statusCode

int RADNet::RADHttpResponse::statusCode = 0

Numeric HTTP status code.


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