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:
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_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
|
||||||
///
|
///
|
||||||
|
|
|
@ -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};
|
||||||
|
|
Loading…
Reference in a new issue