eventsource icon indicating copy to clipboard operation
eventsource copied to clipboard

EventSource client for Node.js and Browser (polyfill)

Results 74 eventsource issues
Sort by recently updated
recently updated
newest added

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: ![image](https://user-images.githubusercontent.com/50567115/147956176-829aedde-a632-43e4-9202-4806f630ece2.png) Error i am facing ![image](https://user-images.githubusercontent.com/50567115/147956089-10e48616-e23c-4cd9-82b7-8c79c746f8b9.png)

Hi Team, I am using this package in angular and find my environmental details below, ![image](https://user-images.githubusercontent.com/50567115/148012904-72e2dcff-2497-4f0a-9733-67c446f6e562.png) 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...