Skip to content
  • WebSockets · API Design

WebSockets

LearnViaNotes @learnvianotes· 1 min read

Persistent, bidirectional connection. Replaces HTTP polling for real-time applications. One connection, unlimited messages in both directions.

WebSockets vs SSE

Use cases

Chat apps (WhatsApp, Slack) · Live trading · Multiplayer games · Live collaboration (Figma) · Real-time notifications · Live sports

Free for students and teachers

Write notes like this one

Cards for every idea, quizzes and flashcards, read aloud — on the web and your phone.

Something wrong with this note? Open it to report