Appearance
const WebSocketReadyState: object;
Standard WebSocket ready-state values shared by Node.js and browsers.
readonly CLOSED: 3 = 3;
readonly CLOSING: 2 = 2;
readonly CONNECTING: 0 = 0;
readonly OPEN: 1 = 1;