Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::http::HTTPRequest Class Reference

Public Member Functions

 HTTPRequest (const string &url, const string &method, const string &version, struct MHD_Connection *connection)
bool Init ()
const string Url () const
const string Method () const
const string Version () const
void AddHeader (const string &key, const string &value)
void AddPostParameter (const string &key, const string &value)
void ProcessPostData (const char *data, size_t *data_size)
const string GetHeader (const string &key) const
bool CheckParameterExists (const string &key) const
const string GetParameter (const string &key) const
const string GetPostParameter (const string &key) const
bool InFlight () const
void SetInFlight ()

Member Function Documentation

bool ola::http::HTTPRequest::CheckParameterExists ( const string &  key) const

*TODO(Peter): try and check the "trailer" ?key, only in since Tue Jul 17 2012 *const char *trailer = MHD_lookup_connection_value(m_connection, MHD_GET_ARGUMENT_KIND, NULL);


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