Skip to main content

read_capped

Function read_capped 

Source
async fn read_capped(resp: Response, max: usize) -> Option<Vec<u8>>
Expand description

The body of resp, or None if it is larger than max bytes.