Expand description
Unified RPC client parameterized over Signer and Transport.
RpcClientImpl<S, T> handles envelope construction, signing, response verification,
and streaming setup. Same code compiles to native and wasm32 — only the type
parameters differ:
- Native:
RpcClient<LocalSigner, ZmqConnection> - WASM:
RpcClient<JsSigner, WtConnection>
Generated service clients (e.g., RegistryClient) use Arc<dyn RpcClient>
for object-safe dynamic dispatch.
Structs§
- Call
Options - Per-call options for RPC requests.
- Request
Builder - Per-call request builder for custom authentication options.
- RpcClient
Impl - Unified RPC client. Evolved from ZmqClient — same envelope, timeout, and resilience logic, parameterized over transport and signing.
Traits§
- Federate
Proof Provider - Builds a holder proof after all forwarded recipients exist.
capnp_bodyis the application body before browser carrier framing, matching what dispatch recovers and verifies. This is opt-in per client. - PreSeal
Guard - Revalidates external resolution authority immediately before envelope construction and sealing.
- RpcClient
- Object-safe RPC client trait for dynamic dispatch.
- RpcClient
Provider - Application-supplied construction seam for generated service clients.