{"repo":"centrifugal/centrifuge-dart","free":true,"listed":false,"github":"https://github.com/centrifugal/centrifuge-dart","clone":"git clone https://github.com/centrifugal/centrifuge-dart.git","description":"Dart (Flutter) client SDK for bidirectional communication with Centrifugo and Centrifuge-based server over WebSocket","language":"Dart","stars":127,"topics":["dart","flutter","centrifugo","centrifuge","websocket"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Websocket client for Centrifugo server and Centrifuge library. Since there is no v1 release yet, patch version updates only contain backwards compatible changes, minor version updates can have backwards incompatible API changes. Check out client SDK API specification to learn how this SDK behaves. It's recommended to read that before starting to work with this SDK as the spec covers common SDK behavior - describes client and subscription state transitions, main options and methods. Also check out examples folder. The features implemented by this SDK can be found in SDK feature matrix. Note that custom WebSocket connection Upgrade headers are sent natively on platforms that support dart:io and in web context headers are sent using Centrifugo v6 Headers Emulation feature. The latest centrifuge-dart is compatible with Centrifugo server v6, v5 and v4 and Centrifuge = 0.25.0. For Centrifugo v2, Centrifugo v3 and Centrifuge < 0.25.0 you should use centrifuge-dart v0.8.0. Examples example\\flutter app simple chat application example\\chat app one more chat example example\\console simple console application Usage in background When a mobile application goes to the background there are OS-specific limitations for established persistent connections - which can be silently closed shortly. Thus in most cases you need to disconnect from a server when app moves to the background and connect again when app goes to the foreground. Alternative SDK See also PlugFox/spinify for an alternative Dar","default_branch":null,"files":null,"tree":[],"storefront":"/r/centrifugal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/centrifugal/centrifuge-dart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}