summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/websockets/qwebsocket.h')
-rw-r--r--src/websockets/qwebsocket.h7
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;