Skip to main content

body_reader

Function body_reader 

Source
pub fn body_reader<'a, R>(
    mode: BodyMode,
    reader: &'a mut R,
    buffer: &'a mut BytesMut,
) -> BodyReader<'a, R>
where R: AsyncRead + Unpin,
Expand description

Construct a body reader for the supplied mode.