The Slack RTM docs state the following:
Clients should try to quickly detect disconnections, even in idle periods, so that users can easily tell the difference between being disconnected and everyone being quiet. Not all web browsers support the WebSocket ping spec, so the RTM protocol also supports ping/pong messages. When there is no other activity clients should send a ping every few seconds.
It would be great if I could simply supply an argument to connect to turn on these ping messages, e.g.
(connect :ping-interval-seconds 10)
What do you think?
The Slack RTM docs state the following:
It would be great if I could simply supply an argument to
connectto turn on these ping messages, e.g.What do you think?