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:
Tushar Mathur authored and Evan Lucas committed 2016-06-27 08:27:19 -05:00
1 parent bd8c951757
commit dddfed24db
1 file changed
+5
+5
View File
@@ -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