List of all members.
Public Member Functions |
|
| MongooseResponse (struct mg_connection *conn) |
|
virtual void | write () |
|
void | setStatus (int code, const std::string &statusDesc="", const std::string &httpVer="") |
|
void | setSetCookie (const std::string &name, const std::string &value) |
|
void | setLocation (const std::string &value="") |
|
void | setContentType (const std::string &value="") |
|
bool | getHeaderValue (const std::string &name, std::string &output) |
|
void | addHeaderValue (const std::string &name, const std::string &value) |
|
void | setHeaderValue (const std::string &name, const std::string &value) |
|
void | setConnectionAlive (bool keepAlive=false) |
|
void | setCacheDisabled () |
|
void | addHeader () |
|
void | addContent (const std::string &text, bool addLen=true) |
|
void | addText (const std::string &text) |
|
void | addTextLine (const std::string &text) |
Static Public Member Functions |
|
static const char * | getHttpStatusDesc (int statusCode) |
Protected Member Functions |
|
ResponseValueList * | prepareHeaderValues () |
|
void | addHeaderValueToText (const std::string &name, const std::string &value) |
Protected Attributes |
|
struct mg_connection * | m_conn |
|
std::string | m_text |
|
std::auto_ptr< ResponseValueList > | m_headerValues |
|
std::auto_ptr< ResponseValueIndex > | m_headerValuesIndex |
|
std::auto_ptr< std::string > | m_statusText |
The documentation for this class was generated from the following files:
- src/external/vpiotr-mongoose-cpp/mongcpp.h
- src/external/vpiotr-mongoose-cpp/mongcpp.cpp