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

Sending pings to keep websocket connection alive #15

Open
trading-peter opened this issue Aug 19, 2021 · 1 comment
Open

Sending pings to keep websocket connection alive #15

trading-peter opened this issue Aug 19, 2021 · 1 comment

Comments

@trading-peter
Copy link

Hi,

I'm trying to figure out if neffos.js has a method to automatically send ping messages. My reverse proxy (nginx) kept closing the connection which made me aware that neffos.js doesn't do automatic pings. Or so it seems.
Is that something that has to be implemented manually by the user of the lib?

Thanks for your work!

@jjhesk
Copy link

jjhesk commented Jan 16, 2022

Yea, it does not have this thing covered. Its the best to adding an option from the class setting for the ping interval.

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