1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 01:16:59 +02:00

use Route for Applicaiton handlers

This commit is contained in:
Nikolay Kim
2017-12-04 14:53:40 -08:00
parent f5d6179a34
commit e332c1242f
16 changed files with 61 additions and 80 deletions

View File

@@ -57,7 +57,7 @@ mod httpresponse;
mod payload;
mod resource;
mod recognizer;
mod route;
mod handler;
mod pipeline;
mod server;
mod channel;
@@ -83,7 +83,7 @@ pub use application::Application;
pub use httprequest::{HttpRequest, UrlEncoded};
pub use httpresponse::HttpResponse;
pub use payload::{Payload, PayloadItem};
pub use route::{Reply, Json, FromRequest};
pub use handler::{Reply, Json, FromRequest};
pub use resource::{Route, Resource};
pub use recognizer::Params;
pub use server::HttpServer;