readyState

External Documentation

int get readyState

The current state of the connection.

Returns a value matching WebSocketReadyState: 0=CONNECTING, 1=OPEN, 2=CLOSING, 3=CLOSED.

Implementation

external int get readyState;