Skip to main content

parse_stream

Function parse_stream 

Source
pub async fn parse_stream(
    response: Response,
    on_loaded: Option<impl Fn(u64)>,
) -> Result<Vec<Vec<u8>>>
Expand description

Split a Drive style response into its parts. With Encoding-Size above 1 the body is a --BOUNDARY separated multipart and this returns every part.