Skip to content

Support a regular ping #7

@joelittlejohn

Description

@joelittlejohn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions