Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

WebSocket

A connection that starts as HTTP and then stays open so both sides can send messages any time.

A WebSocket upgrades an HTTP connection into a long-lived, full-duplex message channel, avoiding repeated polling for updates.

Examples

  • The dashboard's GET with Upgrade: websocket is answered 101 Switching Protocols, and then the server pushes each valve change the moment it happens.

  • ws:// uses port 80; wss:// runs the same protocol inside TLS on port 443.

Read the full section →