mirror of
https://github.com/tanrax/SSE-Fake.git
synced 2024-11-15 03:55:42 +01:00
520 B
520 B
SSE Fake
Free fake Server-side Events for testing and prototyping.
Try it
Run this code in JavaScript or from any site:
const sse = new EventSource("https://sse-fake.andros.dev/events/");
sse.onmessage = function(event) {
console.log(event.data);
}
Or from the terminal:
curl https://sse-fake.andros.dev/events/
Docs (events)
Made with ♥️, Django, Channels and Django EventStream.
Author: Andros Fenollosa