mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-21 23:07:23 +01:00
fix websocket example
This commit is contained in:
parent
a855c8b2c9
commit
ea8e8e75a2
@ -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);
|
||||||
()
|
()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user