summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocketprotocol.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-04-08 10:24:21 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2016-04-08 10:24:21 +0200
commit00156d63eea2fb7681a8a00a3144392d6325e5cb (patch)
tree40f5159d523966cac856138a32d6d369c20b536b /src/websockets/qwebsocketprotocol.cpp
parentc6d19a89046763f680d7f67c6f9989b4f51fc71e (diff)
parentba9306ec5a1271275d79b2f48ceb227f79352f33 (diff)
downloadqtwebsockets-00156d63eea2fb7681a8a00a3144392d6325e5cb.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-beta1
Change-Id: I7ebcdc16a8b65103abfb9640c990eddbeccdef05
Diffstat (limited to 'src/websockets/qwebsocketprotocol.cpp')
-rw-r--r--src/websockets/qwebsocketprotocol.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/websockets/qwebsocketprotocol.cpp b/src/websockets/qwebsocketprotocol.cpp
index 677f836..5cde1a7 100644
--- a/src/websockets/qwebsocketprotocol.cpp
+++ b/src/websockets/qwebsocketprotocol.cpp
@@ -82,40 +82,34 @@ QT_BEGIN_NAMESPACE
\brief The different defined versions of the WebSocket protocol.
For an overview of the differences between the different protocols, see
- <http://code.google.com/p/pywebsocket/wiki/WebSocketProtocolSpec>
+ \l {pywebsocket's WebSocketProtocolSpec}.
\value VersionUnknown Unknown or unspecified version.
- \value Version0 hixie76:
- http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76 &
- hybi-00:
- http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-00.
+ \value Version0 \l{hixie76} and \l{hybi-00}.
Works with key1, key2 and a key in the payload.
Attribute: Sec-WebSocket-Draft value 0.
Not supported by QtWebSockets.
- \value Version4 hybi-04:
- http://tools.ietf.org/id/draft-ietf-hybi-thewebsocketprotocol-04.txt.
+ \value Version4 \l{hybi-04}.
Changed handshake: key1, key2, key3
==> Sec-WebSocket-Key, Sec-WebSocket-Nonce, Sec-WebSocket-Accept
Sec-WebSocket-Draft renamed to Sec-WebSocket-Version
Sec-WebSocket-Version = 4.
Not supported by QtWebSockets.
- \value Version5 hybi-05:
- http://tools.ietf.org/id/draft-ietf-hybi-thewebsocketprotocol-05.txt.
+ \value Version5 \l{hybi-05}.
Sec-WebSocket-Version = 5
Removed Sec-WebSocket-Nonce
Added Sec-WebSocket-Accept.
Not supported by QtWebSockets.
\value Version6 Sec-WebSocket-Version = 6.
Not supported by QtWebSockets.
- \value Version7 hybi-07:
- http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-07.
+ \value Version7 \l{hybi-07}.
Sec-WebSocket-Version = 7.
Not supported by QtWebSockets.
\value Version8 hybi-8, hybi-9, hybi-10, hybi-11 and hybi-12.
Status codes 1005 and 1006 are added and all codes are now unsigned
Internal error results in 1006.
Not supported by QtWebSockets.
- \value Version13 hybi-13, hybi14, hybi-15, hybi-16, hybi-17 and RFC 6455.
+ \value Version13 hybi-13, hybi14, hybi-15, hybi-16, hybi-17 and \l{RFC 6455}.
Sec-WebSocket-Version = 13
Status code 1004 is now reserved
Added 1008, 1009 and 1010