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.2.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for daphne-0.10.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708b97b10ada6dd1ca70a9b76a39c8996710f4dd5c10b570d6d207f0b01a53ea |
|
MD5 | 94b71d8a954dd9f85b68040e02c321bf |
|
BLAKE2b-256 | 0c69682982394dcde3486f6c4c65317f405e21449e7cd82f2555da121266f29c |