MICO Platform  1.0.0
 All Classes Namespaces Functions Variables Friends
Public Member Functions | Protected Attributes | Friends | List of all members
mico::http::Message Class Reference
Inheritance diagram for mico::http::Message:
mico::http::Request mico::http::Response

Public Member Functions

const std::string & getHeader (const std::string hdr) const
 Return the header with the given name.
 
const BodygetBody () const
 Return the body of the message.
 
curl_slist * getCurlHeaders ()
 Return the headers in CURL format.
 
void setCurlHeaders (curl_slist *hdr)
 Set the headers in CURL format.
 

Protected Attributes

header_map headers
 
Bodybody
 

Friends

class HTTPClient
 
std::ostream & operator<< (std::ostream &os, const Message &req)
 
std::istream & operator>> (std::istream &is, const Message &req)
 

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