HTML and CSS Reference
In-Depth Information
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: AAf/gvkPw6szicrMH3Rwbg==
Sec-WebSocket-Version: 13
Sec-WebSocket-Extensions: x-webkit-deflate-frame
The Sec-WebSocket-Version parameter can help you identify the browser used.
Takecareifyouneedspecifictweaksforspecificbrowsers.Thecorrespondinghand-
shake from the server should look as follows:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept:
s3pPLMBiTxaQ9kYGzzhZRbK+xOo=
If you are interested in more theoretical details, feel free to read the complete spe-
cification of RFC 6455 at http://tools.ietf.org/html/rfc6455 .
Search WWH ::




Custom Search