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

Whitespace ping for keepalive #5

Open
bangarharshit opened this issue Jan 13, 2017 · 0 comments
Open

Whitespace ping for keepalive #5

bangarharshit opened this issue Jan 13, 2017 · 0 comments

Comments

@bangarharshit
Copy link

Not sure if mattermost supports it but it will be great to have keepalives to make sure the local router doesn't close the connection.

From mattermost api

The list of Mattermost WebSocket events are:

typing
posted
post_edited
post_deleted
channel_deleted
channel_viewed
direct_added
new_user
leave_team
user_added
user_updated
user_removed
preference_changed
ephemeral_message
status_change
hello
webrtc

http://www.hivemq.com/blog/mqtt-essentials-part-10-alive-client-take-over

Here is paho's implementation - https://github.com/eclipse/paho.mqtt.android/blob/master/org.eclipse.paho.android.service/src/main/java/org/eclipse/paho/android/service/AlarmPingSender.java

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

1 participant