cxxtools::http::Reply Class Reference

#include <cxxtools/http/reply.h>

Public Member Functions

 Reply ()
ReplyHeaderheader ()
const ReplyHeaderheader () const
void setHeader (const char *key, const char *value)
void addHeader (const char *key, const char *value)
void removeHeader (const char *key)
const char * getHeader (const char *key) const
bool hasHeader (const char *key) const
void clear ()
unsigned httpReturnCode () const
const std::string & httpReturnText () const
void httpReturn (unsigned c, const std::string &t)
std::string body () const
std::stringstream & bodyStream ()
std::size_t bodySize () const
void sendBody (std::ostream &out) const
 operator std::string () const

Constructor & Destructor Documentation

cxxtools::http::Reply::Reply ( )
inline

Member Function Documentation

void cxxtools::http::Reply::addHeader ( const char *  key,
const char *  value 
)
inline
std::string cxxtools::http::Reply::body ( ) const
inline
std::size_t cxxtools::http::Reply::bodySize ( ) const
inline
std::stringstream& cxxtools::http::Reply::bodyStream ( )
inline
void cxxtools::http::Reply::clear ( )
inline
const char* cxxtools::http::Reply::getHeader ( const char *  key) const
inline
bool cxxtools::http::Reply::hasHeader ( const char *  key) const
inline
ReplyHeader& cxxtools::http::Reply::header ( )
inline
const ReplyHeader& cxxtools::http::Reply::header ( ) const
inline
void cxxtools::http::Reply::httpReturn ( unsigned  c,
const std::string &  t 
)
inline
unsigned cxxtools::http::Reply::httpReturnCode ( ) const
inline
const std::string& cxxtools::http::Reply::httpReturnText ( ) const
inline
cxxtools::http::Reply::operator std::string ( ) const
inline
void cxxtools::http::Reply::removeHeader ( const char *  key)
inline
void cxxtools::http::Reply::sendBody ( std::ostream &  out) const
inline
void cxxtools::http::Reply::setHeader ( const char *  key,
const char *  value 
)
inline

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