2017-09-30 18:10:03 +02:00
|
|
|
//! Actix http framework
|
2017-10-07 06:48:14 +02:00
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
extern crate time;
|
|
|
|
extern crate bytes;
|
2017-10-08 06:48:00 +02:00
|
|
|
extern crate sha1;
|
2017-10-08 23:56:51 +02:00
|
|
|
extern crate url;
|
2017-10-07 06:48:14 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate futures;
|
|
|
|
extern crate tokio_core;
|
|
|
|
extern crate tokio_io;
|
|
|
|
extern crate tokio_proto;
|
2017-10-08 06:48:00 +02:00
|
|
|
#[macro_use]
|
2017-10-07 06:48:14 +02:00
|
|
|
extern crate hyper;
|
2017-10-08 06:48:00 +02:00
|
|
|
extern crate unicase;
|
2017-10-08 23:56:51 +02:00
|
|
|
|
2017-10-07 06:48:14 +02:00
|
|
|
extern crate http;
|
|
|
|
extern crate httparse;
|
|
|
|
extern crate route_recognizer;
|
|
|
|
extern crate actix;
|
|
|
|
|
|
|
|
mod application;
|
|
|
|
mod context;
|
|
|
|
mod error;
|
|
|
|
mod date;
|
|
|
|
mod decode;
|
|
|
|
mod httpmessage;
|
2017-10-09 05:16:48 +02:00
|
|
|
mod payload;
|
2017-10-07 06:48:14 +02:00
|
|
|
mod resource;
|
|
|
|
mod route;
|
|
|
|
mod router;
|
|
|
|
mod task;
|
|
|
|
mod reader;
|
|
|
|
mod server;
|
|
|
|
|
2017-10-08 06:48:00 +02:00
|
|
|
pub mod ws;
|
|
|
|
mod wsframe;
|
|
|
|
mod wsproto;
|
|
|
|
|
2017-10-07 06:48:14 +02:00
|
|
|
pub mod httpcodes;
|
2017-10-08 23:56:51 +02:00
|
|
|
pub use application::Application;
|
|
|
|
pub use httpmessage::{HttpRequest, HttpResponse, IntoHttpResponse};
|
2017-10-09 05:16:48 +02:00
|
|
|
pub use payload::{Payload, PayloadItem};
|
2017-10-08 23:56:51 +02:00
|
|
|
pub use router::RoutingMap;
|
|
|
|
pub use resource::{Reply, Resource};
|
2017-10-09 05:16:48 +02:00
|
|
|
pub use route::{Route, RouteFactory, RouteHandler};
|
2017-10-07 06:48:14 +02:00
|
|
|
pub use server::HttpServer;
|
|
|
|
pub use context::HttpContext;
|
2017-10-08 08:59:57 +02:00
|
|
|
pub use route_recognizer::Params;
|