Skip to content

refactor(binance): update WebSocket API to return receivers and impro… - #46

Merged
Praying merged 1 commit into
mainfrom
dev
Jan 31, 2026
Merged

Praying merged 1 commit into
mainfrom
dev

Conversation

@Praying

@Praying Praying commented Jan 31, 2026

Copy link
Copy Markdown
Owner

…ve health monitoring

  • Change subscription methods to return tokio::sync::mpsc::Receiver<serde_json::Value>
  • Add channel capacity configuration with customizable backpressure settings
  • Implement WsHealthSnapshot with latency, message counts, and uptime metrics
  • Add graceful shutdown mechanism with proper resource cleanup
  • Introduce DepthLevel and UpdateSpeed enums for order book configuration
  • Add retry logic with configurable attempts for listen key refresh operations
  • Implement symbol normalization for consistent subscription handling
  • Add comprehensive documentation and examples for WebSocket usage
  • Include Drop implementation to warn about unclosed connections
  • Add health monitoring with message receive/drop statistics

…ve health monitoring

- Change subscription methods to return tokio::sync::mpsc::Receiver<serde_json::Value>
- Add channel capacity configuration with customizable backpressure settings
- Implement WsHealthSnapshot with latency, message counts, and uptime metrics
- Add graceful shutdown mechanism with proper resource cleanup
- Introduce DepthLevel and UpdateSpeed enums for order book configuration
- Add retry logic with configurable attempts for listen key refresh operations
- Implement symbol normalization for consistent subscription handling
- Add comprehensive documentation and examples for WebSocket usage
- Include Drop implementation to warn about unclosed connections
- Add health monitoring with message receive/drop statistics
@Praying
Praying merged commit 9438e46 into main Jan 31, 2026
9 checks passed
@Praying
Praying deleted the dev branch January 31, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant