grapql-ws protocol #1623
-
Hi there. I'm confused about the actual websocket protocols.
Any thoughs on this? What is the actual graphql spec to use to work with standard servers these days? (I tried passing a "subscribe" type message to strawberry and it just ignores it, doesn't even respond, whereas it should probably close the websocket with error 4400, according to the spec.) Cheers, and thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Take a look at the protocol specs you linked. Under "Communication" it says:
In other words: |
Beta Was this translation helpful? Give feedback.
Take a look at the protocol specs you linked. Under "Communication" it says:
In other words:
graphql-ws
is the legacy protocol andgraphql-transport-ws
is the new protocol. It's confusing since the new protocols repository is named graphql-ws but the actual protocol is called graphql-transport-ws.