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