svelte-realtime svelte-realtime
3 online Docs Tutorial Guides Core Reference Ecosystem
Home / docs/ reference

Reference

The lower-level pieces - architecture, build tooling, error catalogue, and the full API surface. If you've built an app with the core APIs and need to look something up, you're in the right place.

Architecture

How the runtime, Vite plugin, and adapter fit together.

Full API Reference

Every function, type, and option in one page.

Vite Plugin

How $live/* virtual imports are generated and typed.

hooks.ws.js

Connection upgrade, auth, and the WebSocket lifecycle.

CLI

Scaffolding, codegen, and project commands.

Errors

Every error code, what triggers it, and how to fix it.

DevTools

X-Ray mode and the in-browser frame inspector.

Testing

Unit and integration patterns for live modules.

Benchmarks

Throughput and latency numbers, how they were measured.

SvelteKit + Cloudflare Tunnel: WebSocket Cookies

The fix for cookie-stripped WS upgrades behind cloudflared.

Was this page helpful?