Skip to content

singleConnection PUT followed by GET #81

Answered by enisdenjo
dastein1 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dastein1
Comment options

@enisdenjo
Comment options

Answer selected by dastein1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants