Story Point Team Poker


web socket

+

web socket

-- A Realtime web app powered by HTML5 WebSocket and nodejs


Developed by Wayne
http://WayneYe.com

Protocol Definition

The WebSocket Protocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code.
--IETF rfc6445

WebSocket Features

Old days

Connection construction

      Request
      GET /demo HTTP/1.1
      Host: example.com
      Upgrade: websocket
      Connection: Upgrade
      Sec-WebSocket-Key: V2ViU29ja2V0IHJvY2tzIQ==
      Sec-WebSocket-Origin: http://example.com
      Sec-WebSocket-Protocol: chat, superchat
      Sec-WebSocket-Version: 13

      Response
      HTTP/1.1 101 Switching Protocols
      Connection: Upgrade
      Upgrade: websocket
      Sec-WebSocket-Accept: VAuGgaNDB/reVQpGfDF8KXeZx5o=
      Sec-WebSocket-Protocol: chat
          

Browser Support

Server Support

Story Point Team Poker Demo

Team Poker JavaScript Architecture

References

Thank you:)