3. WebSocket の接続手順
HTML5 WebSocket Server and Client with GlassFish ~ Yasassri's Blog
http://yasassriratnayake.blogspot.jp/2014/06/html5-websocket-server-and-client-with.html
4. WebSocket の接続手順 (1)GET /chat HTTP/1.1
Host: server.example.com
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
Origin: http://example.com
Sec-WebSocket-Protocol: chat, superchat
Sec-WebSocket-Version: 13
HTML5 WebSocket Server and Client with GlassFish ~ Yasassri's Blog
http://yasassriratnayake.blogspot.jp/2014/06/html5-websocket-server-and-client-with.html
5. WebSocket の接続手順 (2)
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Protocol: chat
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=
HTML5 WebSocket Server and Client with GlassFish ~ Yasassri's Blog
http://yasassriratnayake.blogspot.jp/2014/06/html5-websocket-server-and-client-with.html
6. WebSocket の接続手順 (3)
HTML5 WebSocket Server and Client with GlassFish ~ Yasassri's Blog
http://yasassriratnayake.blogspot.jp/2014/06/html5-websocket-server-and-client-with.html