dio
centrifuge-dart

dio | centrifuge-dart | |
---|---|---|
8 | 2 | |
11,371 | 115 | |
- | 1.7% | |
4.0 | 4.6 | |
about 2 years ago | 21 days ago | |
Dart | Dart | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dio
-
[Official] Dio is no longer being maintained.
With no release in the last 6 months, piling up of issues and launch of a new fork (diox), I felt something was going on with dio. Sadly, today I came across an official announcement (updated on the project repo 2 days back):
-
Dio caching experience
You might want to think twice about dio....we evaluated dio on a recent project and decided to avoid it after running into a blocker when setting a custom timeout (this bug: https://github.com/flutterchina/dio/issues/1454)
- Dio, maintaining session
- NO_RENEGOTIATION error when trying to do HTTPS
- Dio – A powerful HTTP client for Dart
-
GetX is dead, what to use next?
- and Dio for http requests
-
Thoughts on creating a library with Dart for browser and node
I also had some troubles choosing which Dart HTTP client to use. I've started with dio, but when I tried to read one of our bigger JSON responses (~1.5mb) my browser tab froze (there seems to be an old issue describing the same behavior). After that I've switched to the default dart's http package and it is working fine but it doesn't have builtin requests abort/cancellation.
- How to rerun function if it return x?
centrifuge-dart
-
Updating flutter app data from REST API in real-time
Connect to it using https://github.com/centrifugal/centrifuge-dart or without any connector library using unidirectional transports: https://centrifugal.dev/docs/transports/overview#unidirectional. For authentication you can pass JWT issued by your Django backend or proxy connection attempt to Django backend ( like shown in this post https://centrifugal.dev/blog/2021/11/04/integrating-with-django-building-chat-application )
-
Centrifugo v3 released – with unidirectional transports (GRPC, EventSource, HTTP-streaming), GRPC hooks, faster JSON protocol, high-performance Tarantool engine, and more
Yes. There are clients for bidirectional transports (for example, for Dart/Flutter - https://github.com/centrifugal/centrifuge-dart, and for JS/Swift/Java - so React/Angular/Vue covered, and I never heard what Svelte is but if can use JS libraries then things should work just fine). And it's possible to connect without client libraries if you are using unidirectional transports – just use native browser EventSource object, or use code generation and GRPC to connect to unidirectional GRPC.
What are some alternatives?
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
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.
esc_pos_printer - ESC/POS (thermal, receipt) printing for Flutter & Dart
jaguar - Jaguar, a server framework built for speed, simplicity and extensible. ORM, Session, Authentication & Authorization, OAuth
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
askless-flutter-client - Build Flutter Apps with PostgreSQL, MySQL, or any database, stream data changes through websockets effortlessly, and handle websocket authentication like a pro
graphql-flutter - A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
fourinarow-app - An online version of the popular game four in a row, written in Flutter + Dart on the client and Rust on the server side.
sentry-dart - Sentry SDK for Dart and Flutter
crdt_sync - A dart-native turnkey solution for painless network synchronization
diox - A powerful HTTP package for Dart/Flutter, which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custom adapters, etc.
ValkyrieApp - The Flutter app for https://valkyrieapp.xyz
