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.10.1.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for daphne-0.10.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcddbacac6e2905ec843483079ddce2592c8d455b61ee2953239fe5e36a74780 |
|
MD5 | fde780bb417327236d0cf194ec13d562 |
|
BLAKE2b-256 | b6a98ab06827c5e6f91ae763946502dc134e598ec8b8d819dc7424692002b995 |