client-cpp  0.10.0
kaa::HttpResponse Class Reference

#include <HttpResponse.hpp>

+ Inheritance diagram for kaa::HttpResponse:
+ Collaboration diagram for kaa::HttpResponse:

Public Member Functions

 HttpResponse (const char *data, std::size_t len)
 
 HttpResponse (const std::string &data)
 
 ~HttpResponse ()
 
virtual std::string getHeaderField (const std::string &name) const
 
virtual SharedBody getBody () const
 
virtual int getStatusCode () const
 
- Public Member Functions inherited from kaa::IHttpResponse
virtual ~IHttpResponse ()
 

Detailed Description

Definition at line 28 of file HttpResponse.hpp.

Constructor & Destructor Documentation

kaa::HttpResponse::HttpResponse ( const char *  data,
std::size_t  len 
)
kaa::HttpResponse::HttpResponse ( const std::string &  data)
kaa::HttpResponse::~HttpResponse ( )
inline

Definition at line 32 of file HttpResponse.hpp.

Member Function Documentation

virtual SharedBody kaa::HttpResponse::getBody ( ) const
virtual

Implements kaa::IHttpResponse.

virtual std::string kaa::HttpResponse::getHeaderField ( const std::string &  name) const
virtual

Implements kaa::IHttpResponse.

virtual int kaa::HttpResponse::getStatusCode ( ) const
virtual

Implements kaa::IHttpResponse.


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