Comments (5)
I faced with that issue as well.
from sse.
@quarckster I solved this by implementing the suggested code above and it works perfectly
from sse.
+1
from sse.
code: #145
from sse.
Interesting, I just noticed this after writing #147 and #148
I don't understand why the EOF special case is there by default (especially as the backoff will end silently without any error).
from sse.
Related Issues (20)
- Feature : callback function after client connected
- sse can not get empty data like url opend with chrome HOT 2
- Ignore comments (lines starting with colon - `:`) HOT 1
- Allow overrriding `OnSubscribe` and `OnUnsubscribe` functions per Stream.
- Any idea how to connect with Go Fiber framework?
- SSE client randomly dies HOT 2
- Client doesn't reconnect after EOF HOT 5
- OnConnect can be delayed
- OnConnect can be delayed HOT 1
- Feature Request: Support non-GET method and request body in the sse client HOT 1
- Improve receive message error handling
- Question: Cache mode of SSE client
- Custom http.Client? HOT 1
- Not all empty messages are actually ignored
- Need to process the body and status code of the response with an error
- Introduce EventLog BufferSize HOT 1
- Accessing headers in OnSubscribe HOT 1
- stream connection limits HOT 1
- consequences of the default recoonect strategy behaviour should be documented / made clear
- onSubscribe send a message to the subscriber
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sse.