Tencent IMWeb Frontend Team
Jun 29, 2017 · Frontend Development
Why WebSocket Uses Subprotocols and How CORS Really Works
This article explains the purpose of WebSocket subprotocols, details the WebSocket frame structure, clarifies cross‑origin capabilities, and walks through CORS mechanics including simple requests, preflight checks, and credential handling.
CORSSubprotocolsWebSocket
0 likes · 8 min read
