Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: More details on Server-Sent Events

...

  • Requires a multithreaded server since the connection is persistent. Bottle supports several servers, and we likely would use CherryPy.
  • Not implemented by Internet Explorer; however, equivalent functionality is provided by yaffle's polyfill.

WebSockets

The WebSocket (RFC 6455) protocol provides full-duplex (two-way), message-based communications over a single TCP socket. Messages may be text or binary. It is designed for a web application, including initialization via an HTTP Upgrade header so the protocol may coexist on the HTTP port.  At the same time, as a messaging tool, it allows other two-way messaging protocols to run on top of it. See the Messaging and Queueing topic below. Due to its close relationship to HTTP and its flexibility, we expect it to become widely adopted. It already is supported in the latest versions of the well known browsers.

...