Skip to main content

Module rpc

Module rpc 

Source
Expand description

The daemon RPC protocol: JSON lines over the unix socket, one request line, one response line. Every exchange carries the sender’s version so the upgrade handshake (§3) is just a field compare — a newer CLI tells an older daemon to drain and exit.

Structs§

Envelope
Route
SupervisedProcess

Enums§

Request
Response
ResponseBody

Constants§

PROTOCOL_VERSION

Functions§

build_version
The daemon’s (and CLI’s) build version — same binary, same number.