From fe34b1c14eacec8beaaf7cefe575e8a03c6b1aa6 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Fri, 4 Mar 2022 11:39:11 +0100 Subject: [PATCH] Update README.md --- README.md | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index fec8fd7..aeea28e 100644 --- a/README.md +++ b/README.md @@ -20,37 +20,10 @@ Or from the terminal: curl https://sse-fake.andros.dev/events/ ``` -## Events +## Docs (events) -Between 1 to 5 seconds, you will randomly receive one of the following messages: +https://sse-fake.andros.dev/ -- User connected - -``` javascript -{ - "action": "User connected", - "name": [random name] -} -``` - -- User disconnected - -``` javascript -{ - "action": "User disconnected", - "name": [random name] -} -``` - -- New message - -``` javascript -{ - "action": "New message", - "name": [random name], - "text": [random text] -} -``` Made with ♥️, Django, Channels and Django EventStream.