diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2019-11-08 14:55:54 +0100 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-01-21 13:57:21 +0100 |
commit | 9f1bfd08c47de2a1f59b406ae57e5a90d2670ea6 (patch) | |
tree | 3ed1ef59dadadee9008be92fd48d7ebd94763f8b /src/websockets/qwebsocket.h | |
parent | 370a7c165bf3bb46195b7077c5a88bd97bb67d17 (diff) | |
download | qtwebsockets-9f1bfd08c47de2a1f59b406ae57e5a90d2670ea6.tar.gz |
Use the new functions/signals introduced in QSslSocket
Task-number: QTBUG-68419
Change-Id: Icdc41079cb946d4316cc0ec2ae40522e6de52725
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/websockets/qwebsocket.h')
-rw-r--r-- | src/websockets/qwebsocket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket.h b/src/websockets/qwebsocket.h index 4944689..530127f 100644 --- a/src/websockets/qwebsocket.h +++ b/src/websockets/qwebsocket.h @@ -109,6 +109,8 @@ public: #ifndef QT_NO_SSL void ignoreSslErrors(const QList<QSslError> &errors); + void continueInterruptedHandshake(); + void setSslConfiguration(const QSslConfiguration &sslConfiguration); QSslConfiguration sslConfiguration() const; #endif @@ -143,8 +145,12 @@ Q_SIGNALS: void bytesWritten(qint64 bytes); #ifndef QT_NO_SSL + void peerVerifyError(const QSslError &error); void sslErrors(const QList<QSslError> &errors); void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator); + void alertSent(QAlertLevel level, QAlertType type, const QString &description); + void alertReceived(QAlertLevel level, QAlertType type, const QString &description); + void handshakeInterruptedOnError(const QSslError &error); #endif private: |