summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/websockets/qwebsockethandshakerequest.cpp1
-rw-r--r--src/websockets/qwebsocketprotocol.h2
-rw-r--r--src/websockets/qwebsocketprotocol_p.h1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qwebsockethandshakerequest.cpp b/src/websockets/qwebsockethandshakerequest.cpp
index c47dfd0..5d6e827 100644
--- a/src/websockets/qwebsockethandshakerequest.cpp
+++ b/src/websockets/qwebsockethandshakerequest.cpp
@@ -41,6 +41,7 @@
#include "qwebsockethandshakerequest_p.h"
#include "qwebsocketprotocol.h"
+#include "qwebsocketprotocol_p.h"
#include <QtCore/QString>
#include <QtCore/QMap>
diff --git a/src/websockets/qwebsocketprotocol.h b/src/websockets/qwebsocketprotocol.h
index 1affc76..a7cb1ff 100644
--- a/src/websockets/qwebsocketprotocol.h
+++ b/src/websockets/qwebsocketprotocol.h
@@ -65,8 +65,6 @@ enum Version
VersionLatest = Version13
};
-Version versionFromString(const QString &versionString);
-
enum CloseCode
{
CloseCodeNormal = 1000,
diff --git a/src/websockets/qwebsocketprotocol_p.h b/src/websockets/qwebsocketprotocol_p.h
index 4ce51b5..8850c4d 100644
--- a/src/websockets/qwebsocketprotocol_p.h
+++ b/src/websockets/qwebsocketprotocol_p.h
@@ -87,6 +87,7 @@ inline bool isCloseCodeValid(int closeCode)
}
inline Version currentVersion() { return VersionLatest; }
+Version versionFromString(const QString &versionString);
void Q_AUTOTEST_EXPORT mask(QByteArray *payload, quint32 maskingKey);
void Q_AUTOTEST_EXPORT mask(char *payload, quint64 size, quint32 maskingKey);