dio_adapter 2.1.2 dio_adapter: ^2.1.2 copied to clipboard
A Dart package for simplifying HTTP requests using Dio, with customizable handling for API CRUD operations and errors.
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.2 # this is the latest version