Replies: 3 comments 5 replies
-
Hey. Websocket handler is called for websocket protocol. So its different thing than Server Sent Event. I don't have knowledge of SSE to say more about this, but quick google shows that The Guild provides dedicated handler for SSE connections, so perhaps we should provide |
Beta Was this translation helpful? Give feedback.
-
HTTP handler is closer to what you are trying to accomplish because its HTTP bases. From my understanding SSE handler should use Ariadne's |
Beta Was this translation helpful? Give feedback.
-
Here is the RFC for this protocol: https://github.com/graphql/graphql-over-http/blob/main/rfcs/GraphQLOverSSE.md |
Beta Was this translation helpful? Give feedback.
-
I want to implement the subject for graphql subscriptions. What is the best way to do that? I tried to rewrite GraphQLTransportWS class and then pass this object to websocket_handler parameter of ariadne's GraphQL(..) init. Am I going well? What would you recommend?
Beta Was this translation helpful? Give feedback.
All reactions