From a131b16538303bdb8bdd1835e36b9b3270443005 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Sat, 4 May 2024 02:53:03 -0400 Subject: [PATCH] dox --- src/api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api.rs b/src/api.rs index 8ac3b2d..83a1487 100644 --- a/src/api.rs +++ b/src/api.rs @@ -24,6 +24,7 @@ pub async fn websocket(stream: WebSocket, state: Arc, who: SocketAddr) // By splitting, we can send and receive at the same time. let (mut sender, mut receiver) = stream.split(); + // sup let _greeting = sender.send(Message::Text(greeting(&state))).await; // subscribe to broadcast channel