| Home · Modules · Classes · Namespaces · Functions |
The QxtHttpServerConnector class provides a built-in HTTP server for QxtHttpSessionManager More...
#include <QxtHttpServerConnector>
Inherits QxtAbstractHttpConnector.
Inherited by QxtHttpsServerConnector.
The QxtHttpServerConnector class provides a built-in HTTP server for QxtHttpSessionManager
QxtHttpSessionManager does the work of managing sessions and state for the otherwise stateless HTTP protocol, but it relies on QxtAbstractHttpConnector subclasses to implement the protocol used to communicate with the web server.
QxtHttpServerConnector implements a complete HTTP server internally and does not require an external web server to function. However, it provides very little control over the behavior of the web server and may not suitable for high traffic scenarios or virtual hosting configurations.
See also QxtHttpSessionManager.
Creates a QxtHttpServerConnector with the given parent and server.
You may pass a QTcpServer subclass to the server parameter to enable customized behaviors, for instance to use QSslSocket like QxtHttpsServerConnector does. Pass 0 (the default) to server to allow QxtHttpServerConnector to create its own QTcpServer.
Returns the QTcpServer used by this QxtHttpServerConnector. Use this pointer to adjust the maxPendingConnections or QNetworkProxy properties of the server.
| Copyright © 2007-2010 Qxt Foundation |
Qxt 0.7.0 |