hectoday
DocsCoursesChangelog GitHub
DocsCoursesChangelog GitHub

Access Required

Enter your access code to view courses.

Invalid code

← All courses

Real-Time APIs with @hectoday/http

Push updates to clients the moment they happen. Build a live task board with polling, Server-Sent Events, WebSockets, rooms, presence, and reconnection — all on Hectoday HTTP.

Intermediate ~6 hours

Beyond Request-Response

  1. Why Real-Time Matters
  2. Project Setup

Polling

  1. Short Polling
  2. Long Polling

Server-Sent Events

  1. How SSE Works
  2. Building an SSE Endpoint
  3. Event Types and IDs
  4. SSE in Practice

WebSockets

  1. How WebSockets Work
  2. Building a WebSocket Server
  3. Rooms and Broadcasting
  4. Authentication on WebSockets
  5. Handling Disconnects and Reconnection

Patterns and Architecture

  1. Pub/Sub
  2. Presence
  3. Scaling Real-Time

Putting It All Together

  1. Choosing the Right Approach
  2. Capstone: Live Task Board

© 2026 hectoday. All rights reserved.