| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1678,10 +1678,11 @@ added: v0.5.0 | |||
| 1678 | 1678 | ||
| 1679 | 1679 | This property represents the state of the connection as a string. | |
| 1680 | 1680 | ||
| 1681 | - * If the stream is connecting `socket.readyState` is `opening`. | ||
| 1682 | - * If the stream is readable and writable, it is `open`. | ||
| 1683 | - * If the stream is readable and not writable, it is `readOnly`. | ||
| 1684 | - * If the stream is not readable and writable, it is `writeOnly`. | ||
| 1681 | + * If the socket is connecting, `socket.readyState` is `opening`. | ||
| 1682 | + * If the socket is readable and writable, it is `open`. | ||
| 1683 | + * If the socket is readable and not writable, it is `readOnly`. | ||
| 1684 | + * If the socket is not readable and writable, it is `writeOnly`. | ||
| 1685 | + * Otherwise, it is `closed`. | ||
| 1685 | 1686 | ||
| 1686 | 1687 | ## Class: `net.BoundSocket` | |
| 1687 | 1688 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments