readyState

This property represents the state of the connection as a string.

  • If the stream is connecting socket.readyState is opening.

  • If the stream is readable and writable, it is open.

  • If the stream is readable and not writable, it is readOnly.

  • If the stream is not readable and writable, it is writeOnly.

Since

v0.5.0