Enumeration of WebSocket connection state.
Enumeration of WebSocket connection state.
Member | Value | Description |
---|---|---|
WS_CLOSED | 0 | WebSocket connection is closed. |
WS_CLOSING | 3 | WebSocket connection is closing. |
WS_CONNECTING | 1 | WebSocket connection is opening. The socket is either is resolve, handshake or SSL handshake states. |
WS_OPEN | 2 | WebSocket connection is established. |