extra credit Search 85,062 technologies ⌘K Download for Mac

Server-Sent Events (HTML Standard)

Category
Web and networking protocols
Docs outline
6 sections

Official docs outline

html.spec.whatwg.org
  1. Introduction

    Using EventSource to receive a unidirectional stream of events over HTTP.

  2. The EventSource interface

    Constructor, readyState, onopen/onmessage/onerror and withCredentials.

  3. Processing model

    Connection, reconnection and failure handling.

  4. Parsing an event stream

    Line grammar: data, event, id and retry fields.

  5. Interpreting an event stream

    Dispatching events and the last-event-ID buffer.

  6. Authoring notes

    Keepalive comments and proxy buffering considerations.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 36
↑↓ move ↵ open