mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 21:03:17 +02:00
CR
This commit is contained in:
parent
5f41505846
commit
20f33d9cbc
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class HTTPManager : public QTcpServer, public HTTPRequestHandler {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
/// Initializes the manager.
|
/// Initializes the manager.
|
||||||
HTTPManager(const QHostAddress& listenAddress, quint16 port, const QString& documentRoot, HTTPRequestHandler* requestHandler = NULL);
|
HTTPManager(const QHostAddress& listenAddress, quint16 port, const QString& documentRoot, HTTPRequestHandler* requestHandler = nullptr);
|
||||||
|
|
||||||
bool handleHTTPRequest(HTTPConnection* connection, const QUrl& url, bool skipSubHandler = false) override;
|
bool handleHTTPRequest(HTTPConnection* connection, const QUrl& url, bool skipSubHandler = false) override;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ public:
|
||||||
const QSslCertificate& certificate,
|
const QSslCertificate& certificate,
|
||||||
const QSslKey& privateKey,
|
const QSslKey& privateKey,
|
||||||
const QString& documentRoot,
|
const QString& documentRoot,
|
||||||
HTTPSRequestHandler* requestHandler = NULL);
|
HTTPSRequestHandler* requestHandler = nullptr);
|
||||||
|
|
||||||
void setCertificate(const QSslCertificate& certificate) { _certificate = certificate; }
|
void setCertificate(const QSslCertificate& certificate) { _certificate = certificate; }
|
||||||
void setPrivateKey(const QSslKey& privateKey) { _privateKey = privateKey; }
|
void setPrivateKey(const QSslKey& privateKey) { _privateKey = privateKey; }
|
||||||
|
|
Loading…
Reference in a new issue