Aktualizr
C++ SOTA Client
Public Member Functions | Public Attributes | List of all members
HttpResponse Struct Reference
Collaboration diagram for HttpResponse:
[legend]

Public Member Functions

 HttpResponse (std::string body_in, const long http_status_code_in, CURLcode curl_code_in, std::string error_message_in)
 
bool isOk () const
 
bool wasInterrupted () const
 
std::string getStatusStr () const
 
Json::Value getJson () const
 

Public Attributes

std::string body
 
long http_status_code {0}
 
CURLcode curl_code {CURLE_OK}
 
std::string error_message
 

Detailed Description

Definition at line 17 of file httpinterface.h.


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