cfug / dio

A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.

Home Page:https://dio.pub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to submit Dio's third-party plugins and related libraries here

aloisdeniel opened this issue · comments

After searching for a while for a caching solution, I created my own interceptor. But, maybe another solution exists and I missed it ...

It would be great to have a list of third party interceptors and transformers in the README. Having conventions for plugin would be very appreciated too (like naming, API, usage, etc ...).

Here two packages of mine :

After I saw your plugins, I was about to come here and suggest either an "awesome-dio" or a section plugin authors can collaborate and update on that wouldn't affect the current lifecycle.

This would be great, I have a small gist on built_value integration with dio.

It would be useful to have this kind of list, and I have a cache lib too :

  • dio-http-cache : a simple cache library for Dio like Rxcache in Android

Ok? I think we still should?

commented

We have some specifications for third-party libraries:

  • All plugins and libraries should support Dio 4.x
  • Having detailed documentation and examples

@wendux
Please consider adding this one to your ducomention.
PrettyDioLogger

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@wendux
Please consider adding this one to your ducomention.
dcache_flutter

Dcache_flutter is a library both for Dio 3.x and 2.x. Dcache_flutter uses sqflite as disk cache. It is used in our product. It is fully tested and stable. Maybe others will like it too.

Hello I created a Lib to make Certificate Pinning on Flutter with a Dio interceptor to uses in Dio:

http_certificate_pinning

I think that is interesting add into Dio documentation.

I created an oauth 2.0 authentication plugin for dio I think it would be interesting to add it in the documentation.

https://pub.dev/packages/oauth_dio

Here is a new package for retry with Dio. It supports dio 4.0 and null safety: https://pub.dev/packages/dio_smart_retry

This is a next generation of an abandoned dio_retry package.
By default, the request will be retried only for appropriate retryable http statuses.
Also, it supports dynamic delay between retries.

Here's an interceptor we created to transform your dio requests in curl requests: https://pub.dev/packages/curl_logger_dio_interceptor

Supports dio: ^4.0.1 and null-safety

image

An interceptor that pretty prints requests/responses with ability to customize the logger.

Instead of using interceptors, I wrap dio adapters with golang's http.RoundTripper pattern.

Pub: https://pub.dev/packages/roundtripper
Github: https://github.com/morlay/roundtripper

For impletementing atom processings and compose them in required.

Case Like:

@wendux Recommend your own plug-in
A plug-in that captures requests and views them within the application, providing functions such as request replication and JSON expansion
Pub: https://pub.dev/packages/dio_log
Github: https://github.com/flutterplugin/dio_log

As the package is now away from maintaining, we encourage you great author to consider migrate to the hard-fork diox. And see cfug/diox#29 for more details.

Hello I created a Lib to make api gen like retorfit in dio.

cinch

I think that is interesting add into Dio documentation.

Hi!
We created a simple request library with type transforming based on dio which my team using in production at our own projects! It provides a chopper style type safe api without needing a generator!
You can check it here: https://pub.dev/packages/tio

That looks pretty cool!