13 #include <QHostAddress> 22 class HttpRequestHandler;
122 QVariant webStatus()
const;
124 QList<QPointer<HobrasoftHttpd::HttpConnection> > connections()
const {
return m_connections; }
143 void slotConnectionClosed(QObject *);
146 #ifndef DOXYGEN_SHOULD_SKIP_THIS 147 HttpTcpServer *m_server;
148 const HttpSettings *m_settings;
149 QList<QPointer<HobrasoftHttpd::HttpConnection> > m_connections;
const HttpSettings * settings() const
Returs pointer to HttpSettings used in the HttpServer.
void slotNewConnection()
Slot is invoked when QTcpServer::newConnection() signal arrived.
General single-threaded, event-driven HTTP server.
HttpServer(QObject *parent)
Constructor using default HttpSettings object.
Configuration of the http server instance.
void close()
Closes the QTcpServer bind with your HttpServer.
Processes incoming requests.
virtual HttpRequestHandler * requestHandler(HttpConnection *)
Creates new request handler and returs pointer to it.
void start()
Starts of restart HttpServer with new parameters.
Namespace of HTTP server.
One single connection to http server.