centrifuge-dart
dio
centrifuge-dart | dio | |
---|---|---|
2 | 3 | |
116 | 12,607 | |
2.6% | 0.4% | |
5.4 | 8.6 | |
2 months ago | 9 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.
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.
dio
What are some alternatives?
jaguar - Jaguar, a server framework built for speed, simplicity and extensible. ORM, Session, Authentication & Authorization, OAuth
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
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.
dio - 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. [Moved to: https://github.com/cfug/dio]
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.