Expand description
Strict bounded JSONL/RPC process interface. Strict bounded LF-delimited RPC mode.
Structs§
- RpcError
- Bounded path- and secret-independent RPC error.
- RpcFrame
Reader - Strict byte-oriented LF frame reader with a fixed memory bound.
- RpcLine
Writer - Owned bounded LF writer with per-frame flush acknowledgements.
- RpcRequest
- One strict versioned client request.
- RpcRequest
Id - Bounded client-supplied response correlation identity.
Enums§
- RpcError
Code - Stable safe RPC failure classification.
- RpcOutput
- One server output frame: correlated response or asynchronous canonical event.
- RpcRead
Error - Terminal strict-framing or input failure.
- RpcRequest
Kind - Supported command and host-query request families.
- RpcResponse
- Successful or failed response payload correlated to one request.
- RpcWrite
Error - Bounded RPC output failure.
Constants§
- MAX_
RPC_ FRAME_ BYTES - Maximum bytes accepted before one LF delimiter.
- MAX_
RPC_ IN_ FLIGHT_ REQUESTS - One connection parses and dispatches at most one request at a time.
- RPC_
VERSION - Current independent RPC schema version.
- RPC_
WRITER_ DEADLINE - Maximum enqueue, write, flush, or shutdown latency.
- RPC_
WRITER_ QUEUE_ CAPACITY - Maximum queued RPC output frames.
Functions§
- run
- Builds and owns a service for strict JSONL/RPC mode.
- run_
service - Runs one RPC connection over an existing mode-neutral service.