QDjango
Signals | Public Member Functions
QDjangoHttpServer Class Reference

The QDjangoHttpServer class represents an HTTP server. More...

#include <QDjangoHttpServer.h>

List of all members.

Signals

void requestFinished (QDjangoHttpRequest *request, QDjangoHttpResponse *response)

Public Member Functions

 QDjangoHttpServer (QObject *parent=0)
 ~QDjangoHttpServer ()
void close ()
bool listen (const QHostAddress &address, quint16 port)
QDjangoUrlResolverurls () const

Detailed Description

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().

See also:
QDjangoFastCgiServer

Constructor & Destructor Documentation

QDjangoHttpServer::QDjangoHttpServer ( QObject *  parent = 0)

Constructs a new HTTP server.

Destroys the HTTP server.


Member Function Documentation

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.

void QDjangoHttpServer::requestFinished ( QDjangoHttpRequest request,
QDjangoHttpResponse response 
) [signal]

This signal is emitted when a request completes.

Returns the root URL resolver for the server, which dispatches requests to handlers.


The documentation for this class was generated from the following files:
 All Classes Functions Typedefs Enumerations Enumerator Properties