Skip to content

Releases: centrifugal/centrifuge-swift

0.2.2

15 Jan 18:11
Compare
Choose a tag to compare
  • Add initial WebSocket reconnection delay (mitigating issues with Starscream connect timeout). Thanks to Anton Selyanin.

0.2.1

05 Jan 18:25
Compare
Choose a tag to compare
  • Fix refresh token task retain cycle #38

0.2.0

15 Nov 10:20
Compare
Choose a tag to compare

A couple of new methods added to Client.

  • Client.getSubscription(channel: String) -> CentrifugeSubscription? to get Subscription from internal client registry
  • Client.removeSubscription(_ sub: CentrifugeSubscription) to tell Client that Subscription should be removed from internal registry. Subscription will be automatically unsubscribed before removing.

See more details in the pull request #36. In short, subscription removing can be helpful if you work with lots of short-living subscriptions to different channels to prevent unlimited internal Subscription registry growth.