#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 12/week @ 2018-09-25 7/week @ 2018-10-02 44/week @ 2018-10-16 10/week @ 2018-10-23 2/week @ 2018-10-30 18/week @ 2018-11-06 6/week @ 2018-11-13 6/week @ 2018-11-20 4/week @ 2018-11-27 7/week @ 2018-12-04 6/week @ 2018-12-11 3/week @ 2018-12-18

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

~20MB
~414K SLoC