NativeWebSocket
NativeWebSocket copied to clipboard
constructor parameter "headers" not working on WebGL
On webgl, client has passed some custom headers, but server has'nt received them.
Hi @veboys, the browser does not allow sending custom HTTP headers through WebSocket requests. I think what you could do is sending the data you need through query string instead of a browser environment. https://stackoverflow.com/a/4361358/892698