aboutsummaryrefslogtreecommitdiff
path: root/src/subscription.rs
AgeCommit message (Collapse)Author
2024-04-13⬆️ (Cargo.toml): Bump lightstreamer-client version from 0.1.8 to 0.1.9Libravatar daniloaz
✨ (Cargo.toml): Add colored dependency to enhance console output 📝 (README.md): Overhaul documentation to provide comprehensive details about the project, its features, usage, and contribution guidelines 💡 (client_listener.rs, client_message_listener.rs): Add newline at end of file to adhere to POSIX standards ♻️ (connection_options.rs): Refactor code to improve readability and maintainability 🐛 (connection_options.rs): Rename 'reduce_head' to '_reduce_head' to indicate unused variable ♻️ (error.rs): Reorder imports and adjust formatting for consistency ♻️ (item_update.rs): Refactor code to improve readability and maintainability ♻️ (lib.rs): Reorder module imports for better organization ♻️ (ls_client.rs): Refactor code to improve readability and maintainability 💡 (main.rs): Update print statements to use colored output for changed fields 🐛 (main.rs): Fix import order to follow Rust's idiomatic style 🐛 (proxy.rs, subscription.rs, subscription_listener.rs): Add newline at end of file to follow POSIX standard ♻️ (subscription.rs, subscription_listener.rs): Refactor code to improve readability and maintainability 📝 (util.rs): Add newline at end of file to adhere to POSIX standards
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-07✨ (Cargo.toml): bump version to 0.1.5 for new releaseLibravatar Daniel López Azaña
✨ (ls_client.rs): add TLCP_VERSION constant for protocol version tracking ♻️ (ls_client.rs): remove commented-out code and unused println for cleaner codebase ♻️ (ls_client.rs): use TLCP_VERSION constant instead of hardcoded protocol string ✨ (ls_client.rs): handle 'reqok' server message for better server communication ♻️ (subscription.rs): change error type to Box<dyn Error> for more generic error handling 🐛 (subscription.rs): fix error message to be more descriptive when items or fields are missing
2024-04-04♻️ (ls_client.rs): refactor subscription logic for clarity and ↵Libravatar Daniel López Azaña
maintainability ♻️ (ls_client.rs): remove hardcoded base_params and use dynamic params for session creation ♻️ (ls_client.rs): remove commented-out subscription code for cleanup ✨ (ls_client.rs): handle new server messages for connection errors and subscription confirmations 🚚 (ls_client.rs): remove unnecessary println at the end of connect function ✨ (main.rs): change adapter set from "QUOTE_ADAPTER" to "DEMO" for client initialization ✨ (subscription.rs): add Default trait implementation for Snapshot enum ✨ (subscription.rs): implement ToString trait for Snapshot and SubscriptionMode enums 🐛 (subscription.rs): fix error message in set_item_group method to be more descriptive
2024-03-28✨ (lib.rs): introduce `ls_client` module as a cleaner naming conventionLibravatar Daniel López Azaña
✨ (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-24Unstable commit, won't compile.Libravatar daniloaz
2024-03-24Created structure and scaffolding for the Lightstreamer client.Libravatar daniloaz