You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This returns a client object which can then be used to subscribe to channels and then calling `connect()` triggers the connection process to start.
337
337
338
+
**Important:** You must keep a strong reference to the `Pusher` client. You could achieve that by making `pusher` a property of your app delegate, for example.
339
+
338
340
You can also set a `userDataFetcher` on the connection object.
339
341
340
342
- `userDataFetcher (() -> PusherPresenceChannelMember)` - if you are subscribing to an authenticated channel and wish to provide a function to return user data
0 commit comments