#http #web #actix #multipart

actix-web-multipart-file

save multipart’s files into temporary files

1 unstable release

0.1.0 Sep 8, 2018

#12 in #multipart

Download history 14/week @ 2018-09-13 2/week @ 2018-09-20 16/week @ 2018-09-27 3/week @ 2018-10-04 1/week @ 2018-10-11 46/week @ 2018-10-18 9/week @ 2018-10-25

1 downloads per month

MIT/Apache

10KB
178 lines

Save multipart file data into temporary files.

Documents


lib.rs:

Save multipart files in requests into temporary files

Examples

# extern crate actix_web;
# extern crate actix_web_multipart_file;
# extern crate futures;
# use actix_web::{FutureResponse, HttpResponse};
# use actix_web_multipart_file::Multiparts;
# use futures::Stream;

fn handle_multipart(multiparts: Multiparts) -> FutureResponse<HttpResponse> {
    multiparts
        .and_then(|field| {
            // do something with field
#           ::futures::future::ok(())
        })
# ; unimplemented!()
    // ...
}

Dependencies

~19MB
~410K SLoC