fix simple wisp client

This commit is contained in:
Toshit Chawda 2024-02-07 16:31:35 -08:00
parent 5b1503c28e
commit 7fdee4ecfe
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D

View file

@ -91,7 +91,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
let (rx, tx) = ws.split(tokio::io::split);
let rx = FragmentCollectorRead::new(rx);
let (mux, fut) = ClientMux::new(rx, tx);
let (mux, fut) = ClientMux::new(rx, tx).await?;
tokio::task::spawn(fut);