Expand description
Iroh client-side transport — Phase 2 part 2 of Epic #131 (#133).
Thin wrapper over the transport-generic SessionRpcTransport (see
super::rpc_session) specialised to iroh’s [web_transport_iroh::Session]
so existing [RpcClientImpl<S, T>] consumers can ride the
hyprstream-rpc/1 ALPN with zero changes to envelope signing, JWT handling,
or response parsing.
Each send() opens a fresh bidi stream on the connection, writes the
SignedEnvelope bytes, and reads the response (bounded) — matching the
IrohRpcProtocolHandler (transport::iroh_rpc) accept loop on the
server side.
Out of scope (Phase 3): the Transport::subscribe and
Transport::publish methods are streaming-plane concerns. They return
errors here; subscribers go through moq-net on the moql ALPN instead.
Structs§
- Iroh
Transport - Wraps an iroh [
Connection] as aTransportfor RPC plane traffic.
Type Aliases§
- Iroh
Pending Stream - Re-export the generic pending-stream stub under the historical name.
- Iroh
Publish Stub - Re-export the generic publish stub under the historical name.