mirror of
https://github.com/actix/actix-web.git
synced 2024-11-10 19:01:05 +00:00
refactor: rename multipart module
This commit is contained in:
parent
210c9a5eb3
commit
611154beb2
3 changed files with 5 additions and 7 deletions
|
@ -1,13 +1,11 @@
|
|||
//! Multipart payload support
|
||||
|
||||
use actix_utils::future::{ready, Ready};
|
||||
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
|
||||
///
|
||||
|
|
|
@ -58,9 +58,9 @@ mod error;
|
|||
mod extractor;
|
||||
pub(crate) mod field;
|
||||
pub mod form;
|
||||
mod multipart;
|
||||
pub(crate) mod payload;
|
||||
pub(crate) mod safety;
|
||||
mod server;
|
||||
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};
|
||||
|
|
Loading…
Reference in a new issue