Overview
Dio Speed Tracker is a lightweight, extensible interceptor for the Dio HTTP client that measures real-world network speed in Mbps by analyzing actual HTTP download performance. It provides accurate insights into connection quality by tracking download rates during requests, making it ideal for apps needing to monitor or adapt to network conditions. The package integrates seamlessly with Dio and supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. It's designed for developers who want to enhance user experience through dynamic network awareness.
Use cases
- Real-time network speed monitoring
- Adaptive streaming based on bandwidth
- Performance debugging for API calls
- User feedback on connection quality
- Network health checks during app startup
Key features
- Measures actual download speeds in Mbps
- Extensible interceptor architecture
- Cross-platform support
- Lightweight integration with Dio
- Real-time speed updates during downloads
Suitable for
- Apps requiring network performance insights
- Developers building adaptive UIs
- Tools for diagnosing slow connections
- Network-aware mobile applications
- Testing and benchmarking HTTP performance
Considerations
- Requires active HTTP downloads to measure speed
- May impact performance slightly due to continuous monitoring
- Not suitable for upload speed measurement
- Limited to download speed via HTTP requests
- Dependent on Dio client configuration