-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
pass custom channel to websocket link #684
Comments
what is a "ping/pong" message? If you mean subscription keep-alive messages, the websocket client should handle them for you |
@micimize, when a server sends a websocket ping message I would like to receive the ping message and respond with a pong message. I'm not interested in the keep-alive message since they are one-way. |
Hmm – well, that sounds like you'd like to access the underlying websocket for some non-graphql implementation detail. That seems like a fair ask to me, but unfortunately the websocket is currently private. |
If you use the v4 alpha, you can pass a |
Would you consider making the websocket publicly accessible? Are there any drawbacks? I'm working on a production app and would like to stick to a stable version if possible. |
@yap-studios I think it should be, but it might be a minute before it gets done. In the meantime you can basically copy the websocket link and websocket client and make the vars public |
|
I believe this is solved by the above in (#648),– please try with There is also even a way to override the connect function now: We can't really expose the raw socket as it is recreated on reconnects |
Hi,
Is there a way to receive and handle ping/pong messages from a server?
Rgards
The text was updated successfully, but these errors were encountered: