WebSockets 07 Protocol Specification Updates Released on HTML5 Labs to Interoperate with Firefox, Eclipse's Jetty

Microsoft's Interoperability team today announced that the WebSockets prototype has been updated on HTML5 Labs site, a place where we prototype early and not yet fully stable drafts of specifications developed by the W3C and other standard organizations. The WebSocket API is currently being standardized by the W3C and the WebSocket protocol is being standardized […]

Microsoft's Interoperability team today announced that the WebSockets prototype has been updated on HTML5 Labs site, a place where we prototype early and not yet fully stable drafts of specifications developed by the W3C and other standard organizations. The WebSocket API is currently being standardized by the W3C and the WebSocket protocol is being standardized by the IETF.

"This latest release updates both the server and client prototype implementations bringing the implementation in line with the recently released WebSockets 07 Protocol Specification. The majority of the changes in this update are around client-to-server masking," Claudio Caldato stated.

"In the WebSockets 06 Protocol Specification, the entire frame was masked using the 32-bit masking-key, which appeared before the frame. Now, in the 07 protocol spec, only data following opcode and length are masked, again using the 32-bit masking-key that appears after opcode and length."

"We're also hosting a WebSocket endpoint, which implements the proposed IETF interop tests, which're defined here. You can find WebSocket endpoint here: ws://html5labs.cloudapp.net:4502/interoptests."

In addition, client and server implementations continue to be interoperable with Firefox and Jetty (an open source project providing an HTTP server, HTTP client, and javax.servlet container, developed by the Eclipse community.)

Coming next is the Media Capture API prototype, a draft specification that defines HTML form enhancements to provide access to the audio, image and video capture capabilities of a device.

More Info: 07 Protocol

[Source: Interoperability @ Microsoft]