Skip to content

Commit

Permalink
doc: document socket.destroyed
Browse files Browse the repository at this point in the history
Fixes: #5898
PR-URL: #6128
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
tusharmath authored and Fishrock123 committed Jun 27, 2016
1 parent aad7d41 commit 5c6e24e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c6e24e

Please sign in to comment.