Closed
Description
From the WebSocket specification, it's possible to set a "reason" when either the server or the client closes the connection: https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.6
In the ASGI specification, this is well supported for the "Close - send
event" (i.e. close sent by the server):
Lines 476 to 496 in db3ff43
However, for the "Disconnect - receive
event (i.e. close sent by the client), it is not supported; only the code can be set:
Lines 440 to 458 in db3ff43
Is there a particular reason to omit this field for this particular event?
Metadata
Metadata
Assignees
Labels
No labels