The close code of the shutdown. This is the close code that was received
from the remote client (either initiated remotely, or echoing our own sent
close frame).
This may be undefined only if a close frame was received but did not contain
any close code. If no close frame was received before the connection was
lost (i.e. the connection was not cleanly closed) this event will not
fire at all, and an 'abort' event will fire instead.
closeReason
closeReason:string
The close reason of the shutdown.
streamId
streamId:string
The id of this websocket stream. This will match the id of the request,
the initial connection response, and any other WebSocket events for the
same connection stream.
The close code of the shutdown. This is the close code that was received from the remote client (either initiated remotely, or echoing our own sent close frame).
This may be undefined only if a close frame was received but did not contain any close code. If no close frame was received before the connection was lost (i.e. the connection was not cleanly closed) this event will not fire at all, and an 'abort' event will fire instead.