Expand description
Blocking client for the daemon’s local API, used by the tray UI.
The daemon publishes its URL and bearer token in the discovery file
(<config dir>/local-api.json); DaemonClient::discover reads it
afresh, so a restarted daemon on a new port is found again.
Structs§
- Daemon
Client - A client bound to one daemon’s URL and token.
Enums§
- Client
Error - Why a call to the daemon failed.
Constants§
- REQUEST_
TIMEOUT - Per-request timeout. Every route the UI calls answers at once; a daemon that takes longer is treated as unreachable.