Join us for web.dev LIVE, a digital event from June 30th to July 2nd to learn modern web techniques. More at web.dev/live

WebSockets updated to latest version in Chrome Canary

The WebSocket API has been rev'd to the latest version (13) in Chrome Canary. The developer-facing changes are very small, but are incompatible with the older version.

Here's the scoop:

  • Change the origin header name: Sec-WebSocket-Origin -> Origin
  • Sec-WebSocket-Version header value: 8 -> 13