channels
channels copied to clipboard
Updated websocket consumers for ASGI v2.3.
This PR adds the "headers" field for websocket.accept messages and the "reason" field for websocket.close, which
were added in ASGI spec versions 2.1 and 2.3 respectively.