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 details)
Built Distribution
File details
Details for the file daphne-0.10.1.tar.gz
.
File metadata
- Download URL: daphne-0.10.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd8f032f63e5ce07c21d175b4c5235b793dbb996efa9371de693a80ea3dca493 |
|
MD5 | af0df9d1b448cf384e77dda36698506e |
|
BLAKE2b-256 | 974d01029243b02657d1f480122f0304dad5c7b3569bf22ef102fca8f657d244 |
File details
Details for the file daphne-0.10.1-py2.py3-none-any.whl
.
File metadata
- Download URL: daphne-0.10.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcddbacac6e2905ec843483079ddce2592c8d455b61ee2953239fe5e36a74780 |
|
MD5 | fde780bb417327236d0cf194ec13d562 |
|
BLAKE2b-256 | b6a98ab06827c5e6f91ae763946502dc134e598ec8b8d819dc7424692002b995 |