This commit is contained in:
Víðir Valberg Guðmundsson 2023-05-17 17:30:28 +02:00
parent 1660f4a529
commit 56537fe004

View file

@ -21,6 +21,9 @@ server-sent events (also known as SSE) from Django in an asynchronous manner.
So I set out to write a small, drumroll please, chat application!
This blog post documents my process of writing this application and how the bits
and pieces fit together.
The code for the chat application can be found at
[github.com/valberg/django-sse](https://github.com/valberg/django-sse).
@ -50,7 +53,7 @@ which is something we would have to implement ourselves with websockets.
All in all SSE is a much simpler solution than websockets, and in many (most?)
cases that is all we need.
### A simple implementation
### A simple implementation of an SSE endpoint
So lets get to some code!