Created
May 6, 2017 20:40
-
-
Save anonymous/bf99b6495779ef9b39e7011ecd120717 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /demo HTTP/1.1 | |
Host: example.com | |
Connection: Upgrade | |
Sec-WebSocket-Key2: 12998 5 Y3 1 .P00 | |
Sec-WebSocket-Protocol: sample | |
Upgrade: WebSocket | |
Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5 | |
Origin: http://example.com | |
^n:ds[4U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 101 WebSocket Protocol Handshake | |
Upgrade: WebSocket | |
Connection: Upgrade | |
Sec-WebSocket-Origin: http://example.com | |
Sec-WebSocket-Location: ws://example.com/demo | |
Sec-WebSocket-Protocol: sample | |
8jKS'y:G*Co,Wxa- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment