Skip to content

Commit 71cbb7a

Browse files
committed
Small addition to README
1 parent 3c636df commit 71cbb7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ public class PusherAuth: NSObject {
161161
}
162162
```
163163

164+
Provided the authorization process succeeds you need to then call the supplied `completionHandler` with a `PusherAuth` object so that the subscription process can complete.
165+
166+
If for whatever reason your authorization process fails then you just need to call the `completionHandler` with `nil` as the only parameter.
167+
164168
Note that if you want to specify the cluster to which you want to connect then you use the `host` property as follows:
165169

166170
#### Swift

0 commit comments

Comments
 (0)