This commit is contained in:
2026-08-11 19:37:32 -04:00
parent 4fd4f96521
commit a902f7522d
4 changed files with 67 additions and 6 deletions
+4
View File
@@ -1,7 +1,11 @@
use axum::extract::ws::WebSocket;
use super::*;
impl super::Client {
pub async fn initialize(mut socket: WebSocket) -> anyhow::Result<Self> {
if let Some(ServerMessage::Initialize()) = Client::read_socket(&mut socket).await? {}
Ok(Self {
socket,
meta: super::ClientMeta {},