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.1.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file daphne-0.12.1.tar.gz
.
File metadata
- Download URL: daphne-0.12.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f66721ef6c9c99ac252ca977209df475ba03d51b062c739c247f49bd49d56f48 |
|
MD5 | a8696efec93006ef31caa5def3984c0e |
|
BLAKE2b-256 | b23765055f35cc3690a8fa59d09fb00ec4aff0e369ae8c72394700614c133458 |
Provenance
File details
Details for the file daphne-0.12.1-py2.py3-none-any.whl
.
File metadata
- Download URL: daphne-0.12.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a792e0d3bb9b9835b61e56e16a96bdf8e6c4e70e04796c24d3e632c999246b2a |
|
MD5 | 585374b29141aaff601b9316ce4f4eb4 |
|
BLAKE2b-256 | 3f627b7971a7500e1d8dc9d2f0c170b0f1e9abf64f8363ca5357cb637c07378f |