Skip to main content

Module client

Module client 

Source
Expand description

Synchronous local-socket client for the daemon wire protocol.

The CLI is short-lived; one connection per invocation, no async. Client connects (AF_UNIX socket on Unix, named pipe on Windows — both via interprocess), sends one request line, reads response lines up to and including the blank-line terminator, and exposes the parsed warnings + envelope + body to the caller.

Structs§

Client
One CLI ↔ daemon connection.
Response
One full response: warnings + envelope + body lines.