Home · Modules · Classes · Namespaces · Functions

QxtHttpsServerConnector Class Reference
[QxtWeb module]

The QxtHttpsServerConnector class provides a built-in HTTPS server for QxtHttpSessionManager More...

    #include <QxtHttpsServerConnector>

Inherits QxtHttpServerConnector.

Public Functions

Protected Slots

Additional Inherited Members


Detailed Description

The QxtHttpsServerConnector class provides a built-in HTTPS 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.

QxtHttpsServerConnector is a convenience subclass of QxtHttpServerConnector that adds HTTPS handling to the internal web server by delegating the incoming connection handling to QxtSslServer.

QxtHttpsServerConnector is only available if Qt was compiled with OpenSSL support.

See also QxtHttpSessionManager, QxtHttpServerConnector, and QxtSslServer.


Member Function Documentation

QxtHttpsServerConnector::QxtHttpsServerConnector ( QObject * parent = 0 )

Creates a QxtHttpsServerConnector with the given parent.

void QxtHttpsServerConnector::peerVerifyError ( const QSslError & error )   [virtual protected slot]

Handles peer verification errors during SSL negotiation. This method may be overridden to tear-down the connection.

void QxtHttpsServerConnector::sslErrors ( const QList<QSslError> & errors )   [virtual protected slot]

Handles errors with SSL negotiation. This method may be overridden to examine the errors and take appropriate action. The default behavior is to terminate the connection (ie: ignoreSslErrors() is NOT called).

QxtSslServer * QxtHttpsServerConnector::tcpServer () const

Returns the QxtSslServer used by this QxtHttpsServerConnector. Use this pointer to adjust the maxPendingConnections or QNetworkProxy properties of the server or the SSL properties assigned to incoming connections.


Copyright © 2007-2010 Qxt Foundation
Qxt 0.7.0