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:
parent
a855c8b2c9
commit
ea8e8e75a2
@ -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);
|
||||
()
|
||||
|
Loading…
x
Reference in New Issue
Block a user