Skip to main content

Django ASGI (HTTP/WebSocket) server

Project description

https://api.travis-ci.org/andrewgodwin/daphne.svg https://img.shields.io/pypi/v/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.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

daphne-0.12.1-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2 Python 3

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

Hashes for daphne-0.12.1.tar.gz
Algorithm Hash digest
SHA256 f66721ef6c9c99ac252ca977209df475ba03d51b062c739c247f49bd49d56f48
MD5 a8696efec93006ef31caa5def3984c0e
BLAKE2b-256 b23765055f35cc3690a8fa59d09fb00ec4aff0e369ae8c72394700614c133458

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for daphne-0.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a792e0d3bb9b9835b61e56e16a96bdf8e6c4e70e04796c24d3e632c999246b2a
MD5 585374b29141aaff601b9316ce4f4eb4
BLAKE2b-256 3f627b7971a7500e1d8dc9d2f0c170b0f1e9abf64f8363ca5357cb637c07378f

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