#include <response.h>
Public Member Functions | |
Response () | |
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::string | text |
Url | url |
Definition at line 13 of file response.h.
cpr::Response::Response | ( | const std::int32_t & | p_status_code, |
TextType && | p_text, | ||
HeaderType && | p_header, | ||
UrlType && | p_url, | ||
const double & | p_elapsed | ||
) | [inline] |
Definition at line 19 of file response.h.
Definition at line 31 of file response.h.
double cpr::Response::elapsed |
Definition at line 30 of file response.h.
Definition at line 32 of file response.h.
Definition at line 28 of file response.h.
std::string cpr::Response::text |
Definition at line 22 of file response.h.
Definition at line 29 of file response.h.