QwuiAbstractHttpServer Class Reference
Base class for the implementation of an HTTP server. An HTTP server needs a resource provider server that will provide the resources depending on the mime type. There are two operating modes for a server: Queuing the requests and treating them sequentially or using a different thread for each connection.
More...
#include <qwuiabstracthttpserver.h>
List of all members.
Detailed Description
Base class for the implementation of an HTTP server. An HTTP server needs a resource provider server that will provide the resources depending on the mime type. There are two operating modes for a server: Queuing the requests and treating them sequentially or using a different thread for each connection.
Member Enumeration Documentation
- Enumerator:
QueuedProcessing |
|
ThreadedProcessing |
|
Constructor & Destructor Documentation
QwuiAbstractHttpServer::QwuiAbstractHttpServer |
( |
QObject * |
parent = NULL |
) |
|
QwuiAbstractHttpServer::~QwuiAbstractHttpServer |
( |
|
) |
[virtual] |
Member Function Documentation
QString QwuiAbstractHttpServer::error |
( |
|
) |
const [virtual] |
- Returns:
- the error string describing a failed initialization.
Reimplemented in QwuiHttpServer.
- Parameters:
-
| delegate | a delegate representing an incomming connection. |
virtual bool QwuiAbstractHttpServer::start |
( |
|
) |
[pure virtual] |
Implement this method to implement the server start.
- Returns:
- true if the initialization succeeded, false otherwise.
Implemented in QwuiHttpServer.
Member Data Documentation
The documentation for this class was generated from the following files: