RPC
RPC
Refresh a typed API response without leaving the page.
The route action prepares the initial sample. Client refresh requests fresh data from the BFF endpoint.
The response is live and re-fetchable.
The same typed endpoint powers the initial route load and the in-page refresh action.
Serverunavailable
Messageunavailable
Timestampunavailable
Typed boundary
RPC response
Refresh to request fresh data from `GET /api/rpc/hello`.
Endpoint contract
One fetch router action owns the request and response shape.
How it works
Initial markup, client requests, and shared types each have a clear role.