Skip to main content

validate_declared_body

Function validate_declared_body 

Source
pub fn validate_declared_body(
    format: WireFormat,
    body: &[u8],
    limit: usize,
) -> Result<(), DirectProxyError>
Expand description

Validates one complete declared body without format sniffing or fallback.