pull down to refresh
WebSocket is distinct from HTTP used to serve most webpages. Although they are different, RFC 6455 states that WebSocket "is designed to work over HTTP ports 443 and 80 as well as to support HTTP proxies and intermediaries", thus making it compatible with HTTP. To achieve compatibility, the WebSocket handshake uses the HTTP Upgrade header[3] to change from the HTTP protocol to the WebSocket protocol.
reply
The last sentence in your quote confirms what I said
reply
but do not depend.
reply
Mhh ok, fair
reply
Websockets are based on HTTP. To open a websocket you send a special HTTP request.