cxxtools::http::ReplyHeader Class Reference

#include <cxxtools/http/replyheader.h>

Inheritance diagram for cxxtools::http::ReplyHeader:

Public Member Functions

 ReplyHeader ()
void clear ()
unsigned httpReturnCode () const
const std::string & httpReturnText () const
void httpReturn (unsigned c, const std::string &t)
- Public Member Functions inherited from cxxtools::http::MessageHeader
 MessageHeader ()
virtual ~MessageHeader ()
void setHeader (const char *key, const char *value, bool replace=true)
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
bool isHeaderValue (const char *key, const char *value) const
const_iterator begin () const
const_iterator end () const
unsigned httpVersionMajor () const
unsigned httpVersionMinor () const
void httpVersion (unsigned major, unsigned minor)
bool chunkedTransferEncoding () const
std::size_t contentLength () const
bool keepAlive () const

Additional Inherited Members

- Public Types inherited from cxxtools::http::MessageHeader
typedef std::pair< const char
*, const char * > 
- Static Public Member Functions inherited from cxxtools::http::MessageHeader
static char * htdateCurrent (char *buffer)
 Returns a properly formatted current time-string, as needed in http.
- Static Public Attributes inherited from cxxtools::http::MessageHeader
static const unsigned MAXHEADERSIZE = 4096

Constructor & Destructor Documentation

cxxtools::http::ReplyHeader::ReplyHeader ( )

Member Function Documentation

void cxxtools::http::ReplyHeader::clear ( )

Reimplemented from cxxtools::http::MessageHeader.

void cxxtools::http::ReplyHeader::httpReturn ( unsigned  c,
const std::string &  t 
unsigned cxxtools::http::ReplyHeader::httpReturnCode ( ) const
const std::string& cxxtools::http::ReplyHeader::httpReturnText ( ) const

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