Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLIENT_EVENTS.RTM.DISCONNECT not supported #24

Open
sarabsilveira opened this issue Nov 16, 2017 · 1 comment
Open

CLIENT_EVENTS.RTM.DISCONNECT not supported #24

sarabsilveira opened this issue Nov 16, 2017 · 1 comment

Comments

@sarabsilveira
Copy link

We are currently listening to the disconnect event so we get the code&reason for a disconnect. More specifically we want to know when an invalid_auth error happened.

Though this is impossible to test as rtm.send method does not allow for a callback containing two parameters. Disconnect event returns code and reason.

@sarabsilveira sarabsilveira changed the title CLIENT_EVENTS.RTM.DISCONNECT is not support CLIENT_EVENTS.RTM.DISCONNECT not supported Nov 16, 2017
@colestrode
Copy link
Member

What does the disconnect payload look like? Is it JSON?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants