aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Daniel López Azaña <daniloaz@gmail.com>2024-04-05 17:38:05 +0200
committerLibravatar Daniel López Azaña <daniloaz@gmail.com>2024-04-05 17:38:05 +0200
commit46cd2fd0af59d562e9aff31193b3d43c155d0a1e (patch)
treee6b71c55a6dd6c3a1b1cce773b46d82b9506c712 /src/main.rs
parent1d74478512faafdb2263b0d11773190c9efe3190 (diff)
⬆️ (Cargo.toml): bump version from 0.1.2 to 0.1.3
✨ (connection_details.rs): add user and password parameters to ConnectionDetails::new ♻️ (ls_client.rs): refactor user and password handling into ConnectionDetails 🐛 (ls_client.rs): downgrade TLCP protocol version from 2.5.0 to 2.4.0 ✨ (main.rs): update LightstreamerClient::new call to include optional username and password parameters
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 67276a8..901dd22 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -82,6 +82,8 @@ async fn main() -> Result<(), Box<dyn Error>> {
let client = Arc::new(Mutex::new(LightstreamerClient::new(
Some("http://push.lightstreamer.com/lightstreamer"),
Some("DEMO"),
+ None,
+ None,
)?));
//