diff --git a/doc/api/net.md b/doc/api/net.md index 674478e73d..df8712a94e 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -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])