by coder543 · 8y ago · 0 comments
There's no such thing as an HTTP/2 websocket.[0] Websockets are a purely HTTP/1.1 concept, and they're only HTTP/1.1 until the moment that the `Upgrade` happens, at which point the TCP socket gets hijacked.
I'm confused as to why HTTP/2 is mentioned. I guess they just mean a normal websocket?
[0]: https://medium.com/axiomzenteam/websockets-http-2-and-sse-5c...