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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qwebsocket.h b/src/websockets/qwebsocket.h
index 18f8994..7f4131e 100644
--- a/src/websockets/qwebsocket.h
+++ b/src/websockets/qwebsocket.h
@@ -104,8 +104,8 @@ public:
QWebSocketProtocol::CloseCode closeCode() const;
QString closeReason() const;
- qint64 write(const QString &message) Q_REQUIRED_RESULT;
- qint64 write(const QByteArray &data) Q_REQUIRED_RESULT;
+ qint64 sendTextMessage(const QString &message) Q_REQUIRED_RESULT;
+ qint64 sendBinaryMessage(const QByteArray &data) Q_REQUIRED_RESULT;
#ifndef QT_NO_SSL
void ignoreSslErrors(const QList<QSslError> &errors);