Closed carmas123 closed 6 years ago
Unfortunately browser WebSocket does not support custom headers, check out this one https://github.com/websockets/ws/issues/467
Ok I found a solution. Save the header data into cookie and it will be passed to the Ws headers. Regards
@carmas123 could you please share how to exactly do this?
Sorry man but I solved the problem some years ago and I don't remember how I do that. However now I use other framework and I migrate all to Socket.Io
Submitting
Details
Please can you explain me how I can add a custom header to pass an authorization token into header?