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_p.h | |
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_p.h')
-rw-r--r-- | src/websockets/qwebsocket_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/websockets/qwebsocket_p.h b/src/websockets/qwebsocket_p.h index 615bcfc..260e8e8 100644 --- a/src/websockets/qwebsocket_p.h +++ b/src/websockets/qwebsocket_p.h @@ -184,7 +184,8 @@ private: QString origin, QString extensions, QString protocols, - QByteArray key); + QByteArray key, + QList<QPair<QString, QString> > headers); static QWebSocket *upgradeFrom(QTcpSocket *tcpSocket, const QWebSocketHandshakeRequest &request, |