Closed davidbrochart closed 2 years ago
The Websocket API in the browser doesn't have such a configuration, I think..
Not sure how one would implement this.
https://stackoverflow.com/questions/46962881/is-it-possible-to-seamlessly-redirect-websockets
The Q above seams to explain the situation. The browser usually doesn't follow redirects. You could implement a polyfill that supports redirects as explained in the A above.
FYI: y-websocket accepts a Websocket polyfill.
Interesting, thanks @dmonad !
Hi @dmonad, It looks like if a WebSocket endpoint returns a redirect to another WebSocket endpoint, the WebSocket provider doesn't follow the redirect. Is that correct? If so, would it be possible to allow redirects?