Skip to content

Instantly share code, notes, and snippets.

@D1plo1d
Created June 28, 2013 05:09
Show Gist options
  • Save D1plo1d/5882593 to your computer and use it in GitHub Desktop.
Save D1plo1d/5882593 to your computer and use it in GitHub Desktop.
construct protocol websocket header
Cache-Control:no-cache
Connection:Upgrade
Host:192.168.111.111:8888
Origin:http://192.168.111.111:8888
Pragma:no-cache
Sec-WebSocket-Extensions:x-webkit-deflate-frame
Sec-WebSocket-Key:4ILv8kQMb/Te+yOXUeectA==
Sec-WebSocket-Protocol:construct.text.0.0.1
Sec-WebSocket-Version:13
Upgrade:websocket
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment