Open JieGz opened 5 years ago
+1
Also a blocking issue for me
WebSocket API does not provide any method for specifying additional headers.
In the link below, it says some ways to add token authentication https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api
I hope this helps.
I can do this in the ws package but not on this one, any idea why it's not supported?
+1 for me. I am currently using faye-websocket which supports sending headers required for authentication.
I can do this in the ws package but not on this one, any idea why it's not supported?
Thanks for posting this screenshot :)
I have reconnecting-websocket with ws, how can I pass the headers?
Hello, I need to carry a "token" message on the head of the request when I first establish a websocket connection. What should I do?