This tag is for questions relating to event streams in HTTP. Event streams are an easy way for a server to have a continuous connection with the client and send data back and forth.
Questions tagged [event-stream]
137 questions
2
votes
2 answers
express.js not streaming chunked 'text/event-stream' resposne
I'm trying to send a SSE text/event-stream response from an express.js end point. My route handler looks like:
function openSSE(req, res) {
res.writeHead(200, {
'Content-Type': 'text/event-stream; charset=UTF-8',
'Cache-Control':…

kevzettler
- 4,783
- 15
- 58
- 103
2
votes
1 answer
Firebase: using Accept: text/event-stream on Windows Phone
I'm trying to use the Firebase API on the Windows Phone through the EventSource / Server-Sent Events protocol.
The code below works when I don't set the Accept: text/event-stream. In this way I get the entire requested json.
But the task doesn't…

Daniele
- 143
- 1
- 14
2
votes
2 answers
How to push stream of events in Android app from Google App Engine
I am quite new to Android developpement and Google App engine stuff. I am still into processing the documentation and the tutorials about it.
I have a game concept for Android, based on a turn-by-turn battle for 2 players, but with very short turns…

Kamalen
- 766
- 6
- 21
2
votes
1 answer
es.merge usage in gulp: Object # has no method 'end'
I am struggling to get two parallel processing routes to work in gulp. My code looks like this:
gulp.task('build', function(){
return gulp.src(src,{cwd:srcDir})
.pipe(concat('sdk.js', {newLine:'\n\n'}))
…

mz8i
- 672
- 1
- 7
- 11
2
votes
1 answer
Server Sent Events - Event-Stream - Trigger a PHP server side event?
I have a chat panel using HTML, CSS, jQuery. Set up an event listener with no problems. Set up a text/event-stream php file which can send messages to client with no problems. How do I communicate from client to this server script so that it will…

carter
- 5,074
- 4
- 31
- 40
2
votes
2 answers
Listening to text/event-stream using C#
I am writing a C# class to wrap around a simple web service. The RESTful stuff was easy to wrap up, but now I need to raise an event when something on the server changes.
I've set the server up to make an event stream available, but I don't know how…

Matt Ellen
- 11,268
- 4
- 68
- 90
1
vote
2 answers
EventStore 3.1 - SQL Persistence - How can I use a non-dbo schema?
For the project I'm working on, I can't use the [dbo] schema. From looking at the EventStore source, it doesn't look trivial to use a non-dbo schema.
So far, the best I've come up with is to use a custom dialect like this:
Sub-class…

George
- 1,940
- 18
- 27
1
vote
0 answers
Retrieving data from EventStream (server side events)
I got the following page from Veikkaus: https://www.veikkaus.fi/fi/vedonlyonti/pitkaveto which loads an EventStream (Serve Side Events (SSE)) to retrieve data from the server. See the picture below
I'm trying to reproduce this EventStream in…

Sander Bakker
- 435
- 1
- 4
- 14
1
vote
0 answers
Gracefull shutdown when SSE stream is openned
I have an spring boot 3 back-end application, which does serve also some Flux (SSE, https://www.w3schools.com/html/html5_serversentevents.asp ) event streams. i.e.:
@RequestMapping(path = "/notifications", produces =…

Lubo
- 1,621
- 14
- 33
1
vote
0 answers
How to receive server-sent events (SSE) in Flutter Web?
I have tried several different SSE-plugins to receive server-sent events in a Flutter Web app, and all of them can connect but I don't receive any events in Flutter. However, if I open DevTools in Chrome and go to Network -> EventStream, I see the…

Magnus
- 17,157
- 19
- 104
- 189
1
vote
0 answers
How to wait for SSE/EventStream in Cypress?
In Cypress framework cy.wait(alias) is commonly used for test synchronization.
What is the recommended way (example) to wait if result is expected in SSE (Server Side Event), instead of normal request/response.

user2449761
- 1,169
- 13
- 25
1
vote
0 answers
Frequently update an angularjs frontend with real time data from django server
There are some data which would be sent frequently from a django server to the angularjs, this is a data which would be modified frequently and the modification would be updated at the front end when the changes are made at the backend
At the point…

S Mev
- 327
- 3
- 17
1
vote
1 answer
SSE DJANGO REQUEST COUNT
i still new using SSE and i have a question about SSE in Django version 3.2.5, i am using StreamingHttpResponse to send SSE response to EventSource client and it does work fine,
my question that
why it takes to long to open the connection between…

Ahmed ELMawrdy
- 21
- 7
1
vote
2 answers
Don't buffer response for event stream
I am using the CodeIgniter 3 PHP framework on an nginx/1.14.1 server with PHP/7.4.19.
I am trying to set up event streams. The controller method looks as so:
public function foo()
{
// Try everything I can to disable output…

Dani
- 11
- 2
1
vote
1 answer
Cost effective way to buffer website event streams on AWS?
I'm trying to capture event-stream data on my website which doesn't get a ton of traffic -- maybe around 50-200 DAU -- but I'd like to be set up to handle more, if necessary.
Since there isn't a ton of traffic, I figured something like Kinesis might…

A Poor
- 856
- 10
- 26