Skip to content

Commit 5a87bd1

Browse files
committed
Remove doc references to readyState
1 parent a3c91c2 commit 5a87bd1

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

doc/api/net.markdown

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ buffer. Returns `false` if all or part of the data was queued in user memory.
209209
#### stream.end([data], [encoding])
210210

211211
Half-closes the stream. I.E., it sends a FIN packet. It is possible the
212-
server will still send some data. After calling this `readyState` will be
213-
`'readOnly'`.
212+
server will still send some data.
214213

215214
If `data` is specified, it is equivalent to calling `stream.write(data, encoding)`
216215
followed by `stream.end()`.
@@ -262,9 +261,6 @@ The string representation of the remote IP address. For example,
262261

263262
This member is only present in server-side connections.
264263

265-
#### stream.readyState
266-
267-
Either `'closed'`, `'open'`, `'opening'`, `'readOnly'`, or `'writeOnly'`.
268264

269265
#### Event: 'connect'
270266

@@ -291,9 +287,7 @@ By default (`allowHalfOpen == false`) the stream will destroy its file
291287
descriptor once it has written out its pending write queue. However, by
292288
setting `allowHalfOpen == true` the stream will not automatically `end()`
293289
its side allowing the user to write arbitrary amounts of data, with the
294-
caveat that the user is required to `end()` their side now. In the
295-
`allowHalfOpen == true` case after `'end'` is emitted the `readyState` will
296-
be `'writeOnly'`.
290+
caveat that the user is required to `end()` their side now.
297291

298292

299293
#### Event: 'timeout'

0 commit comments

Comments
 (0)