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::HTTPResponse Class Reference

Public Member Functions

 HTTPResponse (struct MHD_Connection *connection)
void Append (const string &data)
void SetContentType (const string &type)
void SetHeader (const string &key, const string &value)
void SetStatus (unsigned int status)
void SetNoCache ()
int SendJson (const ola::web::JsonValue &json)
int Send ()
struct MHD_Connection * Connection () const

Member Function Documentation

void ola::http::HTTPResponse::SetNoCache ( )

Set the appropriate headers so this response isn't cached


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