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

Prevent Warp WS Close, Ping, and Pong messages from being parsed as GraphQL #459

Merged
merged 2 commits into from
Apr 1, 2021

Conversation

D1plo1d
Copy link
Contributor

@D1plo1d D1plo1d commented Apr 1, 2021

This allows Web Socket clients to send pings to the Warp server in order to keep long lived connections alive.

Pings are supported by and automatically responded to by Tungstenite: https://docs.rs/tungstenite/0.13.0/tungstenite/enum.Message.html#variant.Ping

@sunli829
Copy link
Collaborator

sunli829 commented Apr 1, 2021

Thank you so much! 😁

@sunli829 sunli829 merged commit 3b43472 into async-graphql:master Apr 1, 2021
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