Skip to main content

Module client_async

Module client_async 

Source
Expand description

Async client for pi --mode rpc: spawns the CLI, writes one command per LF-terminated line, and demultiplexes stdout into command responses and streamed events.

Framing follows the protocol contract: records split on \n only (tokio’s line reader complies; it never splits on U+2028/U+2029).

Structs§

PiRpcClient
A running pi --mode rpc process.