Django ASGI (HTTP/WebSocket) server
Project description
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.
Running
Simply point Daphne to your ASGI channel layer instance, and optionally set a bind address and port (defaults to localhost, port 8000):
daphne -b 0.0.0.0 -p 8001 django_project.asgi:channel_layer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
daphne-0.12.0.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for daphne-0.12.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d69d3e0cdbef1478ee4145d879bc546935f6adeec47db18532cd5e77b7144d12 |
|
MD5 | bc4e18429b955a010e4e36ef6b4c504f |
|
BLAKE2b-256 | 124afc2603639c1f884ae17c1120b960d6bcfc336e59814c26cd3e4e33f4e254 |