Unsolved How to use QML WebSocket with authorization/cookie Headers
-
Hi everyone,
currently I need a solution in QML to connect to a WebSocket server which want read an authorization token from the header of the HTML protocol. But I really didn't found a way to insert this token into the QML WebSocket (QtWebSockets)
The example in the link below is only an example to connect to a WebSocket service which allow all connections without an authorization token in the headers.
http://doc.qt.io/qt-5/qtwebsockets-qmlwebsocketclient-qml-qmlwebsocketclient-main-qml.html
Is this possible with the QML WebSocket, do anyone know a workaround or another solution to achieve this fastly?
Thanks a lot for any help!
Mehmet