1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-22 01:44:20 +00:00
actix-web/src/dev.rs

22 lines
680 B
Rust
Raw Normal View History

2017-10-14 14:59:35 +00:00
//! The `actix-web` prelude for library developers
2017-10-10 06:07:32 +00:00
//!
//! The purpose of this module is to alleviate imports of many common actix traits
//! by adding a glob import to the top of actix heavy modules:
//!
//! ```
//! # #![allow(unused_imports)]
2017-10-14 14:59:35 +00:00
//! use actix_web::dev::*;
2017-10-10 06:07:32 +00:00
//! ```
pub use ws;
pub use httpcodes;
pub use application::Application;
2017-10-10 23:03:32 +00:00
pub use httpmessage::{Body, Builder, HttpRequest, HttpResponse};
2017-10-10 06:07:32 +00:00
pub use payload::{Payload, PayloadItem};
pub use router::RoutingMap;
pub use resource::{Reply, Resource};
pub use route::{Route, RouteFactory, RouteHandler};
pub use server::HttpServer;
pub use context::HttpContext;
pub use task::Task;
pub use route_recognizer::Params;