Lightning-fast
realtime data streams
Built on HTTP/3 (QUIC) with automatic WebSocket fallback.
Open source protocol for realtime pub/sub.
Install
pnpm add @h3channels/sdkpnpm add @h3channels/protocolStreams for truth
Reliable ordered delivery over QUIC streams. Critical messages arrive intact, in order, with backpressure control.
Datagrams for speed
Unreliable fast delivery for price feeds and telemetry. Client-side freshness tracking drops stale updates automatically.
WebSocket fallback
UDP blocked? No problem. SDK detects unavailable WebTransport and falls back to WebSocket with the same API.
Observability
Built-in Prometheus metrics, structured logs, and OpenTelemetry hooks. Know what's happening in production.
Built for demanding workloads
DeFi price feeds
Tick-by-tick updates for trading interfaces. Datagrams deliver price changes in microseconds. Sequence numbers prevent showing stale quotes.
Live dashboards
System telemetry, analytics, and monitoring. Subscribe to thousands of metric channels. Redis backend scales horizontally.
Multiplayer state
Sync game state, collaborative editors, or real-time maps. Reliable streams guarantee state mutations arrive in order.
Notifications
Push alerts, chat messages, and user events. Rate limiting and backpressure keep your system stable under load.
How it works
Connect
Client attempts WebTransport over QUIC. Falls back to WebSocket if UDP is blocked or unavailable.
Subscribe
Send a subscription request. Server opens a dedicated stream or enables datagram delivery based on your chosen mode.
Receive
Messages arrive with sequence numbers. SDK handles reconnect, resubscribe, and stale message filtering automatically.
Ready to ship?
Install the SDK and connect to your first channel in under five minutes.