DioBuilder is a Dart package that simplifies HTTP requests using the Dio library. It provides a structured way to handle API CRUD operations with customizable request and response handling, error management, and HTTP client adaptation.
- CRUD Operations: Easily perform GET, POST, PUT, and DELETE requests.
- Customizable Request and Response Handlers: Define your own handlers for requests and responses.
- Error Handling: Comprehensive error handling to manage various Dio exceptions.
- HTTP Client Adaptation: Adapt the HTTP client for specific use cases, including self-signed certificates.
Add the dio_adapter
package to your pubspec.yaml
file:
dependencies:
dio_adapter: ^2.0.1 # this is the latest version