Skip to main content

read_body_capped_bytes

Function read_body_capped_bytes 

Source
pub async fn read_body_capped_bytes(
    resp: Response,
) -> Result<Vec<u8>, (Error, bool)>
Expand description

read_body_capped without the decoding step, for callers that need to apply the response’s declared charset themselves.