aboutsummaryrefslogtreecommitdiff
path: root/src/connection_details.rs
AgeCommit message (Collapse)Author
2024-04-07⬆️ (Cargo.toml): bump version from 0.1.6 to 0.1.7 for new releaseLibravatar Daniel López Azaña
♻️ (various): refactor code to use underscore prefix for unused variables ✨ (ls_client.rs): add constants for WebSocket connection setup ✨ (various): add unimplemented!() stubs for methods to be implemented 🔥 (main.rs): remove unused imports and commented code 🔥 (ls_client.rs): remove unused HashMap import and commented code 🐛 (subscription.rs): fix get_command_value to correctly format key before lookup 🔧 (Cargo.toml): remove hyper dependency as it's no longer used
2024-04-05⬆️ (Cargo.toml): bump version from 0.1.2 to 0.1.3Libravatar Daniel López Azaña
✨ (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
2024-04-05⬆️ (Cargo.toml): bump version to 0.1.2 for new releaseLibravatar Daniel López Azaña
♻️ (connection_details.rs): refactor `new` method to return Result for better error handling ✨ (connection_details.rs): set default adapter set to "DEFAULT" if none provided ✨ (ls_client.rs): update `new` method to handle Result from ConnectionDetails::new 🐛 (main.rs): fix subscription item list to include correct items ♻️ (main.rs): replace magic number with constant for max connection attempts
2024-03-30WARNING: unstable commit.Libravatar Daniel López Azaña
🔧 Update .gitignore to exclude .vscode directory ✨ Add futures-util and url dependencies to Cargo.toml ♻️ Refactor error handling into separate error module in Rust project 💡 Add get_password method documentation in connection_details.rs ♻️ Replace String with Transport enum for forced_transport in connection_options.rs ✨ Implement WebSocket connection logic in ls_client.rs with async support ✨ Add ClientStatus, ConnectionType, and DisconnectionType enums to manage client states in ls_client.rs ✨ (main.rs): add Transport enum to LightstreamerClient imports for WebSocket support ♻️ (main.rs): refactor signal handling to use SharedState struct for clean shutdown ✨ (main.rs): implement AtomicBool for graceful disconnect handling 📝 (main.rs): update comments to reflect new signal handling logic ✨ (main.rs): set forced transport to WebSocket streaming in Lightstreamer client options ✨ (util.rs): create new util module with clean_message function for message sanitization
2024-03-28✨ (client_listener.rs): Implement Debug trait for ClientListener for ↵Libravatar Daniel López Azaña
better logging ♻️ (connection_details.rs): Refactor ConnectionDetails to use Option for optional fields ♻️ (connection_details.rs): Change new constructor to accept &str and convert to String ✨ (connection_details.rs): Implement Debug trait for ConnectionDetails ♻️ (connection_options.rs): Implement Debug trait for ConnectionOptions ♻️ (lightstreamer_client.rs): Refactor LightstreamerClient to use Option for server_address and adapter_set ✨ (lightstreamer_client.rs): Implement Debug trait for LightstreamerClient ♻️ (main.rs): Update subscribe_to_channel function to use new control.txt URL and parameters ♻️ (main.rs): Update main function to use Option<&str> when creating LightstreamerClient ✨ (proxy.rs): Add Proxy struct and ProxyType enum to handle proxy configurations
2024-03-24Unstable commit, won't compile.Libravatar daniloaz
2024-03-24Created structure and scaffolding for the Lightstreamer client.Libravatar daniloaz