Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 9e56787

Browse files
committed
Update readme
1 parent 5cc8582 commit 9e56787

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ If you want to receive messages from the Slack RTM API, connect to it.
4848
client.connect()
4949
```
5050

51+
You can also set options for a ping/pong interval, timeout interval, and automatic reconnection:
52+
```swift
53+
client.connect(pingInterval: 2, timeout: 10, reconnect: false)
54+
```
55+
5156
Once connected, the client will begin to consume any messages sent by the Slack RTM API.
5257

5358
####Web API Methods

0 commit comments

Comments
 (0)