abnormalClosure top-level constant
int
const abnormalClosure
The connection was closed abnormally.
For example, this is used if the connection was closed without sending or receiving a Close control frame.
This must not be set explicitly by an endpoint.
Implementation
const abnormalClosure = 1006;