jcayzacJ
Deno3y ago
2 replies
jcayzac

Does fetch() support upgrading the connection to a websocket?

What happens when
fetch()
gets the response

HTTP/1.1 101 Switching Protocols
connection: upgrade
upgrade: websocket


? How to get the WebSocket object from there?
Was this page helpful?