mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 17:07:01 +02:00
refactor middlewares
This commit is contained in:
@@ -42,7 +42,6 @@ mod date;
|
||||
mod encoding;
|
||||
mod httprequest;
|
||||
mod httpresponse;
|
||||
mod logger;
|
||||
mod payload;
|
||||
mod resource;
|
||||
mod recognizer;
|
||||
@@ -62,17 +61,17 @@ pub mod ws;
|
||||
pub mod dev;
|
||||
pub mod httpcodes;
|
||||
pub mod multipart;
|
||||
pub mod middlewares;
|
||||
pub use encoding::ContentEncoding;
|
||||
pub use error::ParseError;
|
||||
pub use body::{Body, BinaryBody};
|
||||
pub use application::{Application, ApplicationBuilder, Middleware};
|
||||
pub use application::{Application, ApplicationBuilder};
|
||||
pub use httprequest::{HttpRequest, UrlEncoded};
|
||||
pub use httpresponse::{HttpResponse, HttpResponseBuilder};
|
||||
pub use payload::{Payload, PayloadItem, PayloadError};
|
||||
pub use route::{Frame, Route, RouteFactory, RouteHandler, RouteResult};
|
||||
pub use resource::{Reply, Resource, HandlerResult};
|
||||
pub use recognizer::{Params, RouteRecognizer};
|
||||
pub use logger::Logger;
|
||||
pub use server::HttpServer;
|
||||
pub use context::HttpContext;
|
||||
pub use channel::HttpChannel;
|
||||
|
Reference in New Issue
Block a user