1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-22 07:15:56 +01:00

fix websocket example

This commit is contained in:
Nikolay Kim 2018-02-24 08:41:58 +03:00
parent a855c8b2c9
commit ea8e8e75a2

View File

@ -22,7 +22,7 @@ fn main() {
Arbiter::handle().spawn( Arbiter::handle().spawn(
WsClient::new("http://127.0.0.1:8080/ws/") WsClient::new("http://127.0.0.1:8080/ws/")
.connect().unwrap() .connect()
.map_err(|e| { .map_err(|e| {
println!("Error: {}", e); println!("Error: {}", e);
() ()