vscode-restclient
vscode-restclient copied to clipboard
Add support for text/event-stream
It would be great to have support for Server Sent Events (SSE). Such APIs respond with a content type of text/event-stream
, which is a simple text format for the server to emit data to the client.
The biggest difference between this and other types of requests is that the response stays open indefinitely. I'd like to see the response data in its own tab (separate from other types of requests), which renders the data "live" as it is received. Probably requires some sort of disconnect action (could be just closing the tab).
A very basic use case would be to open such an event stream, then make some other requests that trigger some events. I'd like to see the responses from these requests in one tab, and any event data in another.
@murrayju nice suggestion, I will add this to the backlog
Is this featured added? It's been a year since it was opened... 🙄
yes please give an update on when this will be added as I have the same use case @murrayju is describing.
any news on the event sourcing ?
Oh I wanted it today so badly 😄
need this feature
Hoping to have it soon
Need this feature :)
I need that :)