Install daphne by entering the following commands in the terminal:
sudo apt update sudo apt install daphne
Description:
Django Channels HTTP/WebSocket server
Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed to power Django Channels. . It supports automatic negotiation of protocols; there's no need for URL prefixing to determine WebSocket endpoints versus HTTP endpoints.
Homepage: https://github.com/django/daphne/
Version: 1.4.2-1
Section: universe/httpd