mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user