centrifugal / centrifuge-dart

Dart (Flutter) client SDK for bidirectional communication with Centrifugo and Centrifuge-based server over WebSocket
https://pub.dartlang.org/packages/centrifuge
MIT License
110 stars 34 forks source link

Add sequence ID to PublishEvent #35

Closed Holofox closed 4 years ago

Holofox commented 4 years ago

Hello!

A rather important parameter has been added - sequence id, which will help many to implement their own logic based on it.

FZambia commented 4 years ago

@Holofox thanks! But I think we should wait a bit until https://github.com/centrifugal/centrifuge/pull/103 merged, seq and gen protocol fields are becoming deprecated, Offset will come instead. So to not support both fields here we can add Offset as soon as that pull request will be ready and new Centrifugo released.