mirror of
https://github.com/fafhrd91/actix-web
synced 2025-02-20 11:20:32 +01:00
update actix
This commit is contained in:
parent
4102b9e1c5
commit
c12669a435
@ -56,7 +56,7 @@ impl Route for MyRoute {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let system = System::new("test".to_owned());
|
let system = System::new("test");
|
||||||
|
|
||||||
// create routing map with `MyRoute` route
|
// create routing map with `MyRoute` route
|
||||||
let mut routes = RoutingMap::default();
|
let mut routes = RoutingMap::default();
|
||||||
|
@ -108,7 +108,7 @@ impl Handler<ws::Message> for MyWS {
|
|||||||
fn main() {
|
fn main() {
|
||||||
let _ = env_logger::init();
|
let _ = env_logger::init();
|
||||||
|
|
||||||
let sys = actix::System::new("http-example".to_owned());
|
let sys = actix::System::new("http-example");
|
||||||
|
|
||||||
let mut routes = RoutingMap::default();
|
let mut routes = RoutingMap::default();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user