1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-27 10:39:03 +02:00

use actix-web master

This commit is contained in:
Nikolay Kim
2018-04-09 19:35:30 -07:00
parent 08f80a5bff
commit f1e5126a1d
2 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ extern crate actix_redis;
extern crate env_logger;
extern crate futures;
use actix_web::*;
use actix_web::{server, middleware, App, HttpRequest, HttpResponse, Result};
use actix_web::middleware::RequestSession;
use actix_redis::RedisSessionBackend;
@ -32,8 +32,8 @@ fn main() {
env_logger::init();
let sys = actix::System::new("basic-example");
HttpServer::new(
|| Application::new()
server::new(
|| App::new()
// enable logger
.middleware(middleware::Logger::default())
// cookie session middleware