pub fn send(
def: &HookDef,
envelope: &Value,
root: &Path,
state: &Path,
) -> Result<String, String>Expand description
Sends envelope to one observer: Ok with what it answered, or why not.
ยงErrors
The observer refused it, failed, timed out or could not be reached.