Skip to content

Optional Function Arguments to set pingInterval, pongTimeout, and diconnectTimeoutCount in socketio client #721

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

Closed
wants to merge 2 commits into from

Conversation

shrynshjn
Copy link
Contributor

changing the pingInterval, pongTimeout of the heartbeat required accessing the library and making changes there.
Instead have added a provision to set them up in the begin function itself, using optional function arguments. This doesn't break any firmwares written on the older functions, as the arguments are optional and carry the default value used in the library.

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

Successfully merging this pull request may close these issues.

1 participant