Skip to main content

parse_multipart_stream

Function parse_multipart_stream 

Source
pub async fn parse_multipart_stream<F>(
    payload: Multipart,
    handler: F,
) -> Result<Vec<Bytes>, Error>
where F: FnMut(String, Bytes) -> Result<(), Error>,
Expand description

Parse multipart form with streaming (high memory efficiency)