1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 03:21:08 +00:00

refactor: rename multipart module

This commit is contained in:
Rob Ede 2024-07-04 05:03:42 +01:00
parent 210c9a5eb3
commit 611154beb2
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
3 changed files with 5 additions and 7 deletions

View file

@ -1,13 +1,11 @@
//! Multipart payload support
use actix_utils::future::{ready, Ready}; use actix_utils::future::{ready, Ready};
use actix_web::{dev::Payload, Error, FromRequest, HttpRequest}; use actix_web::{dev::Payload, Error, FromRequest, HttpRequest};
use crate::server::Multipart; use crate::multipart::Multipart;
/// Get request's payload as multipart stream. /// Extract request's payload as multipart stream.
/// ///
/// Content-type: multipart/form-data; /// Content-type: multipart/*;
/// ///
/// # Examples /// # Examples
/// ///

View file

@ -58,9 +58,9 @@ mod error;
mod extractor; mod extractor;
pub(crate) mod field; pub(crate) mod field;
pub mod form; pub mod form;
mod multipart;
pub(crate) mod payload; pub(crate) mod payload;
pub(crate) mod safety; pub(crate) mod safety;
mod server;
pub mod test; pub mod test;
pub use self::{error::Error as MultipartError, field::Field, server::Multipart}; pub use self::{error::Error as MultipartError, field::Field, multipart::Multipart};