WebSocketStatusCode.SHUTDOWN

1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page. <p> See <a href="https://tools.ietf.org/html/rfc6455#section-7.4.1">RFC 6455, Section 7.4.1 Defined Status Codes</a>.

struct WebSocketStatusCode
enum int SHUTDOWN;

Meta