7 #ifndef _Httpd_ControllerExample_H_ 8 #define _Httpd_ControllerExample_H_ 29 virtual bool exists (
const QString&
id)
const;
AbstractController(HobrasoftHttpd::HttpConnection *parent)
Constructor.
virtual bool exists(const QString &id) const
Check existence of th ID.
HttpResponse * response()
Returns new instance of HttpResponse class.
Processes requests with path /example.
Abstract class for processing unified HTTP requests to server's API.
Response to HTTP request - headers, cookies and body.
One data item in the example.
Processes HTTP request, parses headers, body and files sent by HTTP protocol.
One single connection to http server.
void sendUpdate(const Item *)
Sends data of the item to the event stream.