RPC

The default way to call a Base worker, typed end to end, from the web and between workers.

  • Use RPC

    Expose typed procedures from a worker, the default calling path for your own frontends and workers.

  • Call a Worker from the Web

    Typed RPC calls from a browser with @system-inc/base-client, covering options, retries, and error handling.

  • Share Types

    One interface file imported by both sides, the contract that makes RPC typed end to end.

  • Worker-to-Worker Calls

    Inject a typed client bound to another worker over Cloudflare service bindings, with no public exposure.