pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Public Attributes | List of all members
HttpClient::Response Struct Reference

#include <httpclient.h>

Public Member Functions

void dump (std::ostream &=std::cerr) const
 Log response details to a file/stream. More...
 

Public Attributes

bool debug {false}
 
bool awaiting_http_status_line {true}
 
CURLcode curl_code
 
int http_status {0}
 
std::string http_status_text
 
bool header_corruption {false}
 
StringDict headers
 
StringDict cookies
 
std::string body
 

Member Function Documentation

◆ dump()

void HttpClient::Response::dump ( std::ostream &  target = std::cerr) const

Log response details to a file/stream.

Parameters
targetStream to which to send the response.
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ awaiting_http_status_line

bool HttpClient::Response::awaiting_http_status_line {true}

◆ body

std::string HttpClient::Response::body

◆ cookies

StringDict HttpClient::Response::cookies

◆ curl_code

CURLcode HttpClient::Response::curl_code

◆ debug

bool HttpClient::Response::debug {false}

◆ header_corruption

bool HttpClient::Response::header_corruption {false}

◆ headers

StringDict HttpClient::Response::headers

◆ http_status

int HttpClient::Response::http_status {0}

◆ http_status_text

std::string HttpClient::Response::http_status_text

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