4 Commits

Author SHA1 Message Date
Daniel López Azaña
7af7a7626a WARNING: unstable commit.
🔧 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-30 20:59:58 +01:00
Daniel López Azaña
5c80b291fc (lib.rs): introduce ls_client module as a cleaner naming convention
 (ls_client.rs): add `LightstreamerClient` struct and associated methods for managing communication with Lightstreamer Server
 (main.rs): update imports to use new `ls_client` module and add data adapter and snapshot configuration to subscription
♻️ (lib.rs): refactor `lightstreamer_client` to `ls_client` for consistency with new module name
📝 (ls_client.rs): add comprehensive documentation for `LightstreamerClient` and its methods

 (subscription.rs): add Snapshot enum to define snapshot delivery preferences
♻️ (subscription.rs): refactor requested_snapshot to use Snapshot enum for clarity
💡 (subscription.rs): update comments to reflect changes in snapshot handling
2024-03-28 20:21:52 +01:00
daniloaz
b4e12fd116 Unstable commit, won't compile. 2024-03-24 21:47:33 +01:00
daniloaz
7e1eb27a06 Created structure and scaffolding for the Lightstreamer client. 2024-03-24 20:39:43 +01:00