diff --git a/Cargo.toml b/Cargo.toml index efe4eca..49609cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightstreamer-client" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["Daniel López Azaña "] description = "A Rust client for Lightstreamer, designed to facilitate real-time communication with Lightstreamer servers." diff --git a/src/ls_client.rs b/src/ls_client.rs index 63cd04d..f3966cf 100644 --- a/src/ls_client.rs +++ b/src/ls_client.rs @@ -361,16 +361,10 @@ impl LightstreamerClient { // Split the WebSocket stream into a write and a read stream. let (mut write_stream, mut read_stream) = ws_stream.split(); - // - // Confirm the connection by sending a 'wsok' message to the server. - // - // // Initiate communication with the server by sending a 'wsok' message. // - write_stream - .send(Message::Text("wsok".into())) - .await?; + write_stream.send(Message::Text("wsok".into())).await?; // // Start reading and processing messages from the server.