dio_adapter 2.1.2 copy "dio_adapter: ^2.1.2" to clipboard
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
1
likes
160
points
444
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package for simplifying HTTP requests using Dio, with customizable handling for API CRUD operations and errors.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crypto, dio, either_dart, logger

More

Packages that depend on dio_adapter