23#ifndef QHTTPENGINE_SERVER_H
24#define QHTTPENGINE_SERVER_H
26#include <QHostAddress>
30#include "qhttpengine_export.h"
32#if !defined(QT_NO_SSL)
33class QSslConfiguration;
41class QHTTPENGINE_EXPORT ServerPrivate;
69class QHTTPENGINE_EXPORT
Server :
public QTcpServer
78 explicit Server(QObject *parent = 0);
90#if !defined(QT_NO_SSL)
109 ServerPrivate *
const d;
110 friend class ServerPrivate;
Base class for HTTP handlers.
Definition handler.h:78
void setSslConfiguration(const QSslConfiguration &configuration)
Set the SSL configuration for the server.
void setHandler(Handler *handler)
Set the root handler for all new requests.
void incomingConnection(qintptr socketDescriptor)
Implementation of QTcpServer::incomingConnection()
Server(QObject *parent=0)
Create an HTTP server.
Server(Handler *handler, QObject *parent=0)
Create an HTTP server with the specified handler.