Overview
A Dio plugin that delegates HTTP requests to native platform implementations using cupertino_http and cronet_http, improving performance and reliability on Android, iOS, macOS, Windows, and Linux. It leverages system-level networking stacks for better efficiency and compatibility with platform-specific features. Ideal for apps requiring optimized network behavior across multiple platforms.
Use cases
- High-performance HTTP requests
- Cross-platform network optimization
- Leveraging native HTTP stack features
- Improved request handling on mobile and desktop
- Integration with existing Dio-based applications
Key features
- Uses native HTTP implementations
- Supports Android, iOS, macOS, Windows, and Linux
- Enhanced performance via platform-native networking
- Seamless integration with Dio
- Automatic fallback and platform-specific routing
Suitable for
- Apps needing optimal network performance
- Developers using Dio for HTTP operations
- Projects targeting multiple platforms
- Teams prioritizing native networking capabilities
- Applications requiring reliable and fast HTTP communication
Considerations
- Requires platform-specific setup for full functionality
- May increase app size due to native dependencies
- Limited customization compared to pure Dio
- Depends on external native libraries (cupertino_http, cronet_http)
- Not suitable for environments without native HTTP support