Skip to main content

check_request_bytes

Function check_request_bytes 

Source
pub fn check_request_bytes(len: usize, limits: &Limits) -> Result<(), Refusal>
Expand description

Check the request body’s size against the module’s limit. The refusal names params and the limit: the size belongs to the request as a whole, so no narrower path applies.