-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
How to receive heartbeat? #18
Comments
I need to work on it. |
My server is using Stomp 1.1 with heartbeat configuration. Actually I fixed this by add heartbeat to header field to ask it ping me. I think you already implement it - the ping pong stuff, add it to document is OK. Just missing the function ping server side in case you want the client to be more active. |
@gloryluu I just could not test it on my side that's why it might needs some enhancements :) Thank you so much for feedback, I will add it on the documents. |
Hi @WrathChaos , @gloryluu . My server is using Stomp 1.1 and in browser, I also receive server's pong but in mobile I can't receive server's pong (although I add ["hear-beat": "0,30000"] to header) |
Hi @ThanhTrung90, |
It works very well on browser, but I dont receive ping on mobile device. The state is connected and heartbeat is 30s.
“CONNECTED\nheart-beat:30000,30000\nuser-name:00udiekv7oJmG5cZk0h7\n\n\0”
Do you have any suggestion?
The text was updated successfully, but these errors were encountered: