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

Allow websocket client node to send pings #3056

Merged
merged 1 commit into from
Jul 12, 2021
Merged

Allow websocket client node to send pings #3056

merged 1 commit into from
Jul 12, 2021

Conversation

knolleary
Copy link
Member

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

This adds a new option to the Websocket Client config node to enable automatic sending of ping messages as-per the websocket spec.

image

If enabled, the client will send ping messages each interval. If the previous ping has not been acknowledged by a pong, the client terminates the connection (triggering status node etc) and attempts to reconnect.

@knolleary knolleary added the 2.0 label Jul 8, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 67.566% when pulling d8ee766 on ws-ping into 46c4e2d on dev.

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.

None yet

2 participants