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: ^2.1.1 # this is the latest version
Libraries
- dio_adapter
- Support for doing something awesome.