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

Add websocket keepalive support #530

Merged
merged 3 commits into from
Feb 5, 2019
Merged

Conversation

sinamt
Copy link
Contributor

@sinamt sinamt commented Feb 5, 2019

This adds websocket keepalive support for subscriptions. This is duplicate of #529 for master.

I have:

  • Added tests covering the bug / feature (see testing)
  • [ ] Updated any relevant documentation (see docs) N/A

Some clients (e.g. apollographql/subscriptions-transport-ws) expect a
constant tick rate for the keepalive, not just a keepalive after x
duration of inactivity.
@sinamt sinamt merged commit 8c0562c into master Feb 5, 2019
@sinamt sinamt deleted the websocket-keepalive-master branch February 5, 2019 00:40
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
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