centrifuge 0.6.0 copy "centrifuge: ^0.6.0" to clipboard
centrifuge: ^0.6.0 copied to clipboard

outdated

Dart client to communicate with Centrifuge and Centrifugo from Flutter and VM over dart:io WebSocket

[0.6.0] #

Null safety migration

  • library dependencies updated to null safe versions
  • library code updated to support null safety in places where required

See issue #47 and pull request #48 for details.

[0.5.1] #

  • Skip handling for events from server-side subscriptions resulted in null pointer dereference

[0.5.0] #

  • Update protobuf dependency to ^1.0.1, thanks @Holofox

[0.4.1] #

  • Implement removeSubscription method, thanks @tiamo

[0.4.0] #

  • Breaking changes connected property removed

[0.3.0] #

  • Breaking changes Changed API to avoid returning futures where they do not make sense – in connect and subscribe methods.
  • Client now uses Websocket Ping/Pong frames to find broken connection
  • Support for private channel subscription using onPrivateSub configuration callback function
  • Fix several null pointer dereferences in edge cases, throw ClientDisconnectedError when there is an attempt to send protocol request over non-connected client.
  • Fix examples where subscribe could happen before stream handlers set

[0.2.0] #

  • Breaking changes Replaced subscribe method with getSubscription in Client.
  • Added reconnection.
  • Added history method to Subscription. Thanks vanelizarov.
  • Added rpc method.

[0.1.0] #

  • Added authorization with JWT
  • Added subscription to private channel with JWT

[0.0.1] #

  • Initial release
44
likes
0
pub points
92%
popularity

Publisher

unverified uploader

Dart client to communicate with Centrifuge and Centrifugo from Flutter and VM over dart:io WebSocket

Repository
View/report issues

License

unknown (license)

Dependencies

fixnum, meta, protobuf

More

Packages that depend on centrifuge