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 <cjihrig@gmail.com>
  • Loading branch information
tusharmath authored and cjihrig committed Jun 21, 2016
1 parent 781713d commit 193afef
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 193afef

Please sign in to comment.