pub(crate) fn operator_call(
api: &str,
auth: AuthOptions<'_>,
method: &str,
path: &'static str,
body: &Value,
) -> ValueExpand description
One authenticated call to the node, for the operator-side commands that are a request and a printed answer and nothing else.
Exists so the four D72 commands below do not each carry the same twenty lines of client construction and status handling, and so the exit codes they return cannot drift apart: 1 when the node refused, 2 when this machine could not ask.