doc: document socket.destroyed
Fixes: https://github.com/nodejs/node/issues/5898 PR-URL: https://github.com/nodejs/node/pull/6128 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
781713d5ef
commit
193afef3b0
@ -520,6 +520,11 @@ added: v0.1.90
|
||||
Ensures that no more I/O activity happens on this socket. Only necessary in
|
||||
case of errors (parse error or so).
|
||||
|
||||
### socket.destroyed
|
||||
|
||||
A Boolean value that indicates if the connection is destroyed or not. Once a
|
||||
connection is destroyed no further data can be transferred using it.
|
||||
|
||||
### socket.end([data][, encoding])
|
||||
<!-- YAML
|
||||
added: v0.1.90
|
||||
|
Loading…
x
Reference in New Issue
Block a user