For questions relating to the HTML5 SSE (Server Sent Events) API; the JavaScript object is called EventSource.
Questions tagged [eventsource]
215 questions
0
votes
0 answers
SSEEmitter in IE not working Angular 2
I have implemented this event source .But, its not working on IE as suggested by many i am using
https://github.com/remy/polyfills/blob/master/EventSource.js this
pollyfill for IE.
which was suggested by
Is there a Microsoft equivalent for…

Rohitesh
- 1,514
- 7
- 28
- 51
0
votes
1 answer
Jersey SSE not working with Tomcat 7
Frustrated, i am posting this question. I am sure I have surfed enough to know that the proper answer is not discussed so far. But if the case is the contrary, please accept my Apologies and share with me the apt forum link.
I am testing the…

Sahil Ali
- 172
- 3
- 15
0
votes
1 answer
Terminate EventSource event listener?
I'm trying to work around a problem to do with rest streaming between the Nest API and a service (ST) that does not support streaming.
To get around this, I have built a service on Sails which takes a post request from ST containing the Nest Token,…

K20GH
- 6,032
- 20
- 78
- 118
0
votes
1 answer
Single php file for both html and server side events page
I use this code to have the same file for both html page and dynamic ajax response (using jQuery):
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) &&
$_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
echo "AJAX reponse";
…

jcubic
- 61,973
- 54
- 229
- 402
0
votes
1 answer
NetworkError: 403 Forbidden when assign eventsourcr to full calender
I am doing long pooling using php, (which work fine) and assigning it's output JSON to fullcalender event source.
My js code
var source = new…

Archish
- 850
- 8
- 32
0
votes
2 answers
Validation using other models
What are the options to validate an event which uses another model?
Shopping cart example:
When adding a cart item to the shopping cart, there should be a check if the item isn't sold out yet.

bobthedeveloper
- 3,733
- 2
- 15
- 31
0
votes
0 answers
HTTP EventSource with POST
I've implemented event source streaming (http://www.w3schools.com/html/html5_serversentevents.asp) at the server side via a POST request with some parameters. I mean, when I send a POST request to the server with some parameters, it returns the…

vicaba
- 2,836
- 1
- 27
- 45
0
votes
1 answer
Using event-source-polyfill on server side (node.js)
Inorder to support event streams in IE and other mobile browsers i'm attempting to use event-source-polyfill (https://www.npmjs.com/package/event-source-polyfill).
Can anyone please provide an example on how it could be used on a node service (or)…

Sai
- 1,790
- 5
- 29
- 51
0
votes
0 answers
Fullcalendar - Events dissappear for a client deleting an event in a Server-Sent Event message
I have a server where I notify other clients that a fullcalendar event has been modified, removed or added. Modifying and adding works without any issues but when I try to remove an event within the eventsource listener, every event dissappears.…

FlowerPower1990
- 67
- 1
- 4
0
votes
1 answer
Server Sent Event cant work on production environment
I make a simple server send event with nodejs. It run perfectly on localhost. When I upload it to my VPS. The request to subscribe link is pending. I cant get any message from backend. Same issues on Chrome and Safari, no console error . In Chrome…

trquoccuong
- 2,857
- 2
- 20
- 26
0
votes
1 answer
How to check for origin while using Eventsource in IE?
I'm using this polyfill to make Server Side Events (EventSource) work with IE - https://github.com/Yaffle/EventSource
It works great, except I can't check for origin, like this tutorial recommends (for security purposes)…

user187809
- 706
- 2
- 8
- 23
0
votes
1 answer
How can I update multiple elements by class with unique sub data via JS?
In short, I have a string of 5-10 events I'm receiving from an external server that look like:
event: add
data: { "hostname":"name", "properties": {"info": "50"}}
event: add
data: { "hostname":"name2", "properties": {"info": "45"}}
event:…

KILLADELPHIA
- 59
- 7
0
votes
0 answers
Handling data streaming using ng-repeat
I got the following data which comes out of a EventSource interface. I'm using this data to build a simple table (i have specified the table structure below) using angular ng-repeat. The issue i have is since the data changes rapidly i.e. server…

Sai
- 1,790
- 5
- 29
- 51
0
votes
0 answers
What do I put in for Uri (I am using an EventSource for android a git)?
What do I put in for Uri? I am using an EventSource for android a git
private void connect() {
Thread eventThread = new Thread(new Runnable() {
@Override
public void run() {
try {
eventSource = new…

eli
- 335
- 1
- 3
- 18
0
votes
2 answers
EventSource events show empty in Windows Performance Analyzer
I can successfully generate ETW events with EventSource in a C# console app; however if I store the events in a an ETL file and use Windows Performance Analyzer, the columns corresponding to the payload values, the event name and the provider name…

rcxr
- 31
- 3