diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2013-11-01 13:12:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-01 13:13:35 +0100 |
commit | d26e2ce1594af6e9088b176ccb31c4033e367839 (patch) | |
tree | a083044aa5ef67fddf3a57f67f4f1b5630468909 /src/websockets/qwebsocket.h | |
parent | 3501d4e9c315af97f0d7878d1af7f4300a815ea3 (diff) | |
download | qtwebsockets-d26e2ce1594af6e9088b176ccb31c4033e367839.tar.gz |
Add functionality to ignore ssl errors
Change-Id: I81248b9af104c0b3d37c9cfcef250a102f4b1d32
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocket.h')
-rw-r--r-- | src/websockets/qwebsocket.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket.h b/src/websockets/qwebsocket.h index fbc3b36..a49e992 100644 --- a/src/websockets/qwebsocket.h +++ b/src/websockets/qwebsocket.h @@ -96,6 +96,9 @@ public Q_SLOTS: void close(QWebSocketProtocol::CloseCode closeCode = QWebSocketProtocol::CC_NORMAL, const QString &reason = QString()); void open(const QUrl &url, bool mask = true); void ping(const QByteArray &payload = QByteArray()); +#ifndef QT_NO_SSL + void ignoreSslErrors(); +#endif Q_SIGNALS: void aboutToClose(); @@ -114,6 +117,10 @@ Q_SIGNALS: void pong(quint64 elapsedTime, QByteArray payload); void bytesWritten(qint64 bytes); +#ifndef QT_NO_SSL + void sslErrors(const QList<QSslError> &errors); +#endif + private: QWebSocket(QTcpSocket *pTcpSocket, QWebSocketProtocol::Version version, QObject *parent = Q_NULLPTR); QWebSocketPrivate * const d_ptr; |