-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Add support for the GraphQL-WS Subprotocol
Reason for request
The current implementation of the WebSocket endpoint can only handle the Apollo-WS transport, which has been deprecated. As new server libraries are moving over to the GrapQL-WS transport it would be really helpful if the WebSocket endpoint could also support the newer protocol.
What is required
The two protocols are actually very similar and supporting both is quite trivial. In order to prove it was possible I have implemented a fix in a fork of this project and used it against a new server.
Reference implementation
I've started a discussion about this, which includes all the details: #237
The single commit to implement my changes are here: artran@60a93b5
Metadata
Metadata
Assignees
Labels
No labels