abnormalClosure top-level constant

const abnormalClosure = 1006

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