Public Member Functions | Public Attributes | List of all members
cpr::Response Class Reference

#include <response.h>

Public Member Functions

 Response ()=default
 
template<typename TextType , typename HeaderType , typename UrlType , typename CookiesType , typename ErrorType >
 Response (const std::int32_t &p_status_code, TextType &&p_text, HeaderType &&p_header, UrlType &&p_url, const double &p_elapsed, CookiesType &&p_cookies=Cookies{}, ErrorType &&p_error=Error{})
 

Public Attributes

Cookies cookies
 
double elapsed
 
Error error
 
Header header
 
std::int32_t status_code
 
std::string text
 
Url url
 

Detailed Description

Definition at line 14 of file response.h.

Constructor & Destructor Documentation

cpr::Response::Response ( )
default
template<typename TextType , typename HeaderType , typename UrlType , typename CookiesType , typename ErrorType >
cpr::Response::Response ( const std::int32_t &  p_status_code,
TextType &&  p_text,
HeaderType &&  p_header,
UrlType &&  p_url,
const double &  p_elapsed,
CookiesType &&  p_cookies = Cookies{},
ErrorType &&  p_error = Error{} 
)
inline

Definition at line 20 of file response.h.

Member Data Documentation

Cookies cpr::Response::cookies

Definition at line 32 of file response.h.

double cpr::Response::elapsed

Definition at line 31 of file response.h.

Error cpr::Response::error

Definition at line 33 of file response.h.

Header cpr::Response::header

Definition at line 29 of file response.h.

std::int32_t cpr::Response::status_code

Definition at line 27 of file response.h.

std::string cpr::Response::text

Definition at line 28 of file response.h.

Url cpr::Response::url

Definition at line 30 of file response.h.


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


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18