Skip to content

Server Sent Events

kimschles edited this page Jun 27, 2018 · 1 revision

Server Sent Events (SSE)

Brandon Barrett DenverScript, June 16, 2018

  • Well defined, long loved connection over http(s) ish
  • Neslted between websockets and web requesting
    • Examples: long polling and other retry techniques

Server sent events are like Websockets because...

  • Stays open
  • gives updates automatically
  • a lightweight approach to broadcasting to clients

Unlike Websockets because...

  • You can't push messages back upstream
  • Don't have much support

How They Work

  • ?

Pros

  • Easy to implement a handshake (no separate server!)
  • No firewall dance because they're HTTP
  • Enforce regularity
  • Don't require a socket server
  • Can be a progressive upgrade
Clone this wiki locally