mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 09:42:57 +01:00
refactor: rename multipart module
This commit is contained in:
parent
210c9a5eb3
commit
611154beb2
@ -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 New Issue
Block a user