An open API service indexing awesome lists of open source software.

https://github.com/tanrax/sse-fake

Free fake Server-send Events for testing and prototyping.
https://github.com/tanrax/sse-fake

fake server-sent-events sse

Last synced: 8 months ago
JSON representation

Free fake Server-send Events for testing and prototyping.

Awesome Lists containing this project

README

          

# SSE Fake

Free fake Server-send Events for testing and prototyping.

## Try it

Run this code in JavaScript or from any site:

``` javascript
const sse = new EventSource("https://sse-fake.andros.dev/events/");

sse.onmessage = function(event) {
console.log(event.data);
}
```

Or from the terminal:

``` bash
curl https://sse-fake.andros.dev/events/
```

## Docs (events)

https://sse-fake.andros.dev/

---

Made with ♥️, Django, Channels and Django EventStream.

Author: [Andros Fenollosa](https://andros.dev/)