int readyState

Returns the current state of the connection.

Source

int get readyState;