dio_adapter 1.3.0
dio_adapter: ^1.3.0 copied to clipboard
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 [...]
DioAdapterBase #
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.
Features #
- 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.
Getting Started #
Installation #
Add the dio_adapter package to your pubspec.yaml file:
dependencies:
dio_adapter: ^1.3.0 # Replace with the latest version