Django - HTTP and WebSockets

459 Views Asked by At

We have an existing large Django 1.11 & Django-rest-framework application served by wsgi. We noticed that we might want to use a WebSocker for some requests (for example: get all running tasks - live updating)

There is already a GET URL for that: /api/tasks?running=ture So we would like to use same methods and serve this data via WebSocket (Same port is important)

Is it possible? How?

0

There are 0 best solutions below