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.11.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

daphne-0.11.0-py2.py3-none-any.whl (15.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for daphne-0.11.0.tar.gz
Algorithm Hash digest
SHA256 d921997d37578e4ee919ee1930eec2fbd42fd2f22203225a2a61db649fd45756
MD5 a369ba17ce52d9a86e66b026740dccae
BLAKE2b-256 3e7492dcb5ef68bd35b19a303a5021e8732ba0dd4ac47fda59efdb92df7c717a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for daphne-0.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9567e8880f8b94caac480db745a66ca63b45cbf01a7f988ef37abf458992cbf2
MD5 4abf7fa02c9d87e32d5eac773bca2330
BLAKE2b-256 72fc78b57e5202ec52df7bff09c85e55b845eb7cf65fe32dfed65e25556e4d69

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