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
102 stars 29 forks source link

Reading published data #69

Closed furkanerkl closed 1 year ago

furkanerkl commented 1 year ago

I am using version ^0.8.0. I was thinking that

socketSubscription.publishStream.listen((event) { print(event); });

with this code I can read the data falling into the socket. Although I do not get any problems in the connection, no data falls into the socket.

EDIT: No problem, I couldn't delete the issue.

FZambia commented 1 year ago

Glad it works!