You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
Hello, I tried to use elephant.io v2 client as a PHP client that can establish keep-alive connection with my nodejs server thru websocket protocol, but connection closes automatically after some period of inactivity. Is there any possibility to open and support keep-alive connection? Please help.
The text was updated successfully, but these errors were encountered:
moofik
changed the title
keep-alive does not work
keep-alive connection does not work
May 6, 2019
Have you tried to call the keepAlive method (only on v1 or v2) periodically ? It's currently the only way, as PHP doesn't really have any way to make an async ping in the same request...
Have you tried to call the keepAlive method (only on v1 or v2) periodically ? It's currently the only way, as PHP doesn't really have any way to make an async ping in the same request...
I installed package with composer and I find that the code is not same with the code in github. I checkout from github and copy to my project, now is ok. Very Very Thank You. My Best Wishes!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I tried to use elephant.io v2 client as a PHP client that can establish keep-alive connection with my nodejs server thru websocket protocol, but connection closes automatically after some period of inactivity. Is there any possibility to open and support keep-alive connection? Please help.
The text was updated successfully, but these errors were encountered: