Get desktop application:
View/edit binary Protocol Buffers messages
GET /local/get_version This method returns version of the running daemon.
NOTHING.
(message has no fields)
@sa: `daemon/common_flags.h`
POST /local/ask_to_leave The daemon kills itself on reception of this message.
NOTHING.
(message has no fields)
NOTHING.
(message has no fields)
POST /local/acquire_quota Acquire a quota for starting a new child.
Whether the client is expecting running this task would run quickly. The daemon may decide to allow such tasks even if all processors are already occupied (over-provisioning). This is necessary to prevent too many long-running tasks (e.g., local retry) from blocking light tasks such as preprocessing. By giving preprocessing a higher priority, we can submit tasks to the cloud more quickly. (i.e., QoS of local tasks.)
The caller should provide its PID here. If it crashed unexpectedly, the delegate daemon can automatically reclaim the quota allocated to this requestor when this PID cease to exist.
Nothing. Check out HTTP status code for operation result.
(message has no fields)
POST /local/release_quota Release quota previously granted.
Nothing. Check out HTTP status code for operation result.
(message has no fields)
POST /local/set_file_digest Tell the daemon about BLAKE3 digest of an on-disk file.
Report file digest to local daemon. In certain cases the daemon may need file digest of some file (e.g., compiler's). Because daemon can be possibly run under different user of the client, the daemon may or may not have access to the compiler. Therefore, we ask the client to calculate the compiler's digest and report it to the daemon.
Usually is a BLAKE3 hash, hex encoded.
NOTHING.
(message has no fields)
POST /local/submit_cxx_task Submit a C++ compilation task.
Encoded as string in JSON.
POST /local/wait_for_cxx_task Wait for a previously-submitted C++ task to complete.
Encoded as string in JSON.
stdout
stderr
This message uses several easy-to-get attributes to describe a file.
Used in:
,