Closed wkok closed 4 months ago
Hi @wkok 👋 Thanks for opening an issue!
This is working as intended because afaik it's not possible to set headers as part of the WebSocket MDN Specification.
Also see https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api.
Hope that helps 👍
Thanks for the links, I've opted for going the protocols route and sending the data in the Sec-WebSocket-Protocol
headers as suggested here
Description
When specifying headers in the connect request, they are not included in the server request when the platform is web.
(It works on linux)
Steps To Reproduce
v0.1.1
Expected Behavior
Headers to be included in the network request.
Screenshots
It works on linux:
but not on web (chrome):