centrifugal / centrifuge-swift

Swift client SDK for bidirectional real-time communication with Centrifugo and Centrifuge-based server over WebSocket
MIT License
48 stars 44 forks source link

Subscription Delegate can't be changed after creation #46

Closed onato closed 3 years ago

onato commented 3 years ago

Currently, the Subscription.delegate is internal so it can't be set from outside the library. In order for me to be able to change it so I need to make it public.

https://github.com/centrifugal/centrifuge-swift/blob/dc4bde7a4c8316574829fb293f73bae6dab3d441/Sources/SwiftCentrifuge/Subscription.swift#L31

onato commented 3 years ago

PR: https://github.com/centrifugal/centrifuge-swift/pull/45