eventsource
eventsource copied to clipboard
EventSource client for Node.js and Browser (polyfill)
I found the connection is failing after idling for ~ 10 mins. Found after setting socket to keepAlive helps for this issue. Created this PR for this issue: [c3wenjiaowang:eventsource/socket_keep_alive](https://github.com/EventSource/eventsource/pull/275) Could...
I tried to integrate this lib into my project using ViteJS but error is displayed: Uncaught TypeError: util.inherits is not a function at node_modules/eventsource/lib/eventsource.js
Currently, `connect()` starts by setting `options` to the result of `parse(url)`, then it adds some more properties, and then it passes the object to `http.request` or `https.request`. However, while the...
It seems that there is no way to configure the timeout for the initial connection. Currently, if I attempt to create a source to a bad URL, it takes around...
Some of the dependencies have critical security warnings.
catching this error when close function is called
I am facing the following error when I am running the angular app. please find my environmental details below Machine Environmental:  Error i am facing 
Hi Team, I am using this package in angular and find my environmental details below,  I am using this package to achieve the SSE in client-side ``` import {...
I using nodejs, I create new EventSource(url) then add listEventsoure variable and call onmessage. If I foreach listEventSource and call item.close(). All event close. And I clean listEventsoure ( not...
I am observing the following behavior with the current npm version of this library (1.1.0). If the following sequence of events occurs: * `EventSource` is constructed with an explicit header...