PartyKit PartySocket (Client API)
Browser and runtime client library for connecting to a PartyKit server over WebSockets. Wraps the standard WebSocket API with reconnection, buffering, and resilience. Runs in Web, ServiceWorker, Node.js, React Native, Cloudflare Workers, Deno, and Bun.