-
Notifications
You must be signed in to change notification settings - Fork 226
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
Connecting to graphql requires specifying protocol. #176
Comments
Yeah, if I got your question right, then you indeed can do this the way you referenced. The tracking issue is: #107 I was not aware that the subprotocol for GraphQL is a mandatory thing, it seems like it was primarily mentioned here back in 2018: apollographql/subscriptions-transport-ws#413 |
@mpbraendli you wouldn't happen to have any example code you could share for connecting a graphql subscription with tungstenite? You would be doing me a big favor. |
Sorry, in the end I didn't use tungestenite. |
Hi all,
I'm porting some code that's using https://github.com/websockets-rs/rust-websocket to tungstenite-rs, and I don't understand how I can negotiate the protocol.
I'm calling add_protocol. Is there an easy way to do the same? Is that a duplicate of #145 ?
The text was updated successfully, but these errors were encountered: