Skip to main content

request_chunks

Function request_chunks 

Source
fn request_chunks(
    pages: &[PageValidationRequest<'_>],
    max_request_bytes: usize,
) -> Result<Vec<Vec<Box<RawValue>>>, ValidatorError>
Expand description

The pages, each serialized once, in consecutive runs that each fit in one request; a page too large alone gets a request of its own, which the validator answers with ValidatorError::TooLarge.