1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-02 10:59:03 +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(
WsClient::new("http://127.0.0.1:8080/ws/")
.connect().unwrap()
.connect()
.map_err(|e| {
println!("Error: {}", e);
()