Skip to main content

Django ASGI (HTTP/WebSocket) server

Project description

https://api.travis-ci.org/andrewgodwin/daphne.svg

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


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 details)

Uploaded Source

Built Distribution

daphne-0.12.0-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file daphne-0.12.0.tar.gz.

File metadata

  • Download URL: daphne-0.12.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for daphne-0.12.0.tar.gz
Algorithm Hash digest
SHA256 0db4744edacd4fa8a6febe4889bed047afddb2deb8614f747951c4504b4491c7
MD5 e05e2c808cb27a5b99c91ffd678b1d5e
BLAKE2b-256 8b2a5d48219930dfb2c543a91f29544c1578ec632cdc22467911ab8f40e28452

See more details on using hashes here.

Provenance

File details

Details for the file daphne-0.12.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for daphne-0.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d69d3e0cdbef1478ee4145d879bc546935f6adeec47db18532cd5e77b7144d12
MD5 bc4e18429b955a010e4e36ef6b4c504f
BLAKE2b-256 124afc2603639c1f884ae17c1120b960d6bcfc336e59814c26cd3e4e33f4e254

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page