Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysticatea/event-source-500
Repro code that EventSource does not reconnect after a 500 error.
https://github.com/mysticatea/event-source-500
Last synced: about 2 months ago
JSON representation
Repro code that EventSource does not reconnect after a 500 error.
- Host: GitHub
- URL: https://github.com/mysticatea/event-source-500
- Owner: mysticatea
- License: mit
- Created: 2017-05-13T16:15:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-15T06:04:26.000Z (over 7 years ago)
- Last Synced: 2024-05-02T06:14:42.100Z (8 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# event-source-500
Repro code that EventSource does not reconnect after a 500 error.
## Usage
- This requires [Node.js] 4 or later.
- This requires [Google Chrome].```bash
# Clone this repo.
$ git clone https://github.com/mysticatea/event-source-500.git
$ cd event-source-500# Setup.
$ npm install --production# Run.
# It starts a web server at localhost:3000 and opens Chrome.
$ npm start
```[Node.js]: https://nodejs.org/
[Google Chrome]: https://www.google.com/chrome