WebSockets updated to latest version in Chrome Canary
Google Developers Logo

Missed the Chrome Developer Summit?

All sessions available on demand - Watch Now

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Terms of Service.