mirror of
https://github.com/actix/actix-web.git
synced 2025-03-28 22:05:27 +00:00
fix websocket example
This commit is contained in:
parent
a855c8b2c9
commit
ea8e8e75a2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue