Skip to main content

respond

Function respond 

Source
pub fn respond(
    format: &dyn HookFormat,
    command: &str,
    verdict: Verdict,
) -> Option<HookResponse>
Expand description

The decision for one parsed envelope: the response to emit, or None to abstain.

The single seam every caller goes through, so the blank-command rule cannot be bypassed by reaching for render_response directly.