mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
Update README
This commit is contained in:
parent
c61664dd3c
commit
1889680fd0
15
README.rst
15
README.rst
|
@ -1,4 +1,17 @@
|
|||
daphne
|
||||
======
|
||||
|
||||
Daphne is a HTTP, HTTP2 and WebSocket interface server for Django.
|
||||
Daphne is a HTTP, HTTP2 and WebSocket protocol server for
|
||||
`ASGI <http://channels.readthedocs.org/en/latest/asgi.html>`_, 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user