Skip to main content

precheck_envelope

Function precheck_envelope 

Source
pub fn precheck_envelope(
    config: &Config,
    path: &str,
    headers: &Headers,
    now_ms: i64,
) -> Result<(), Response>
Expand description

Authenticate the signed envelope before an adapter reads or hashes its body. The exact body digest is still checked by Engine after bounded capture.

ยงErrors

A ready-to-send Connect response for an invalid or unauthenticated envelope.