22 #define QHTTPSERVER_VERSION_MAJOR 0
23 #define QHTTPSERVER_VERSION_MINOR 1
24 #define QHTTPSERVER_VERSION_PATCH 0
26 #include <QHostAddress>
52 bool listen(
const QHostAddress &address = QHostAddress::Any, quint16 port = 80);
58 bool listen(quint16 port);
#define TTK_MODULE_EXPORT
The class of the http response.
QHash< int, QString > STATUS_CODES
Maps status codes to string reason phrases.
The class of the http request.
The class of the http server.
#define TTK_DECLARE_PRIVATE(Class)
The class of the http server private.