The QDjangoHttpServer class represents an HTTP server. More...
#include <QDjangoHttpServer.h>
 
  
 | Signals | |
| void | requestFinished (QDjangoHttpRequest *request, QDjangoHttpResponse *response) | 
| Public Member Functions | |
| QDjangoHttpServer (QObject *parent=0) | |
| ~QDjangoHttpServer () | |
| void | close () | 
| bool | listen (const QHostAddress &address, quint16 port) | 
| QDjangoUrlResolver * | urls () const | 
The QDjangoHttpServer class represents an HTTP server.
It allows you to create a standalone HTTP server which will serve your web application.
To register views, see urls().
| QDjangoHttpServer::QDjangoHttpServer | ( | QObject * | parent = 0) | 
Constructs a new HTTP server.
| QDjangoHttpServer::~QDjangoHttpServer | ( | ) | 
Destroys the HTTP server.
| void QDjangoHttpServer::close | ( | ) | 
Closes the server. The server will no longer listen for incoming connections.
| bool QDjangoHttpServer::listen | ( | const QHostAddress & | address, | 
| quint16 | port | ||
| ) | 
Tells the server to listen for incoming TCP connections on the given address and port.
| 
 | signal | 
This signal is emitted when a request completes.
| QDjangoUrlResolver * QDjangoHttpServer::urls | ( | ) | const | 
Returns the root URL resolver for the server, which dispatches requests to handlers.
 1.8.4
 1.8.4