-
I'm trying to wrap some SSE api to be compatible with graphql-sse. With
But what I'm now seeing is that the client issues a PUT followed by a GET and then a POST request. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The PUT request is to acquire the reservation token, then the GET is the actual event stream connection, and finally the POST is executing operations (it contains the request parameters and the reservation token in the There's also a third request DELETE which is for stopping active subscriptions. |
Beta Was this translation helpful? Give feedback.
The PUT request is to acquire the reservation token, then the GET is the actual event stream connection, and finally the POST is executing operations (it contains the request parameters and the reservation token in the
extensions
field). All operation results are then streamed over the single GET event stream connection. See how the event stream messages should be formatted.There's also a third request DELETE which is for stopping active subscriptions.