Edge Computing with Cloudflare Workers
Cap'n Web: A new RPC system for browsers and web servers

Cap'n Web: A new RPC system for browsers and web servers

9/22/2025 · Kenton Varda, Steve Faulkner

What this post added

Introduced Cap'n Web, a new RPC protocol and implementation in pure TypeScript. Cap'n Web is designed for the web stack, supporting object-capability patterns, bidirectional calling, promise pipelining, and multiple transports (HTTP, WebSocket, postMessage()). It offers a schema-less, low-boilerplate experience, integrates with TypeScript, and has a human-readable JSON-based serialization. It is suitable for client-to-server and microservice-to-microservice communication, particularly for interactive web applications and complex security boundaries.

Read the original post ↗