mirror of
https://github.com/django/daphne.git
synced 2025-07-14 18:02:17 +03:00
Add code to websocket.disconnect
This commit is contained in:
parent
435fd89be8
commit
91e1daa77c
|
@ -793,6 +793,8 @@ Keys:
|
||||||
with ``websocket.send!``. Cannot be used to send at this point; provided
|
with ``websocket.send!``. Cannot be used to send at this point; provided
|
||||||
as a way to identify the connection only.
|
as a way to identify the connection only.
|
||||||
|
|
||||||
|
* ``code``: The WebSocket close code (integer), as per the WebSocket spec.
|
||||||
|
|
||||||
* ``path``: Path sent during ``connect``, sent to make routing easier for apps.
|
* ``path``: Path sent during ``connect``, sent to make routing easier for apps.
|
||||||
|
|
||||||
* ``order``: Order of the disconnection relative to the incoming frames'
|
* ``order``: Order of the disconnection relative to the incoming frames'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user