diff options
author | Luca Niccoli <lultimouomo@gmail.com> | 2015-05-04 14:13:14 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-05-26 07:50:50 +0000 |
commit | 3da642b723667e8ba349291c2a98feca121244bb (patch) | |
tree | 3403d2931f7ba1b727bf6639fcc202e83d6a8dea /src/websockets/qwebsocket.cpp | |
parent | b25dc4141782776ff321400c204a27ab3adbcea6 (diff) | |
download | qtwebsockets-3da642b723667e8ba349291c2a98feca121244bb.tar.gz |
Send and parse headers for the handshake request
Task-number: QTBUG-40842
Change-Id: I02787a0e55701966e564a312d51297f4160bd89a
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src/websockets/qwebsocket.cpp')
-rw-r--r-- | src/websockets/qwebsocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp index 3d948a5..3635003 100644 --- a/src/websockets/qwebsocket.cpp +++ b/src/websockets/qwebsocket.cpp @@ -398,6 +398,8 @@ void QWebSocket::open(const QUrl &url) \since 5.6 The \a request url will be used to open the WebSocket connection. + Headers present in the request will be sent to the server in the upgrade request, + together with the ones needed for the websocket handshake. */ void QWebSocket::open(const QNetworkRequest &request) { |