We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3fa5db commit 5380743Copy full SHA for 5380743
doc/api/net.md
@@ -397,6 +397,11 @@ with options either as either `{port: port, host: host}` or `{path: path}`.
397
Ensures that no more I/O activity happens on this socket. Only necessary in
398
case of errors (parse error or so).
399
400
+### socket.destroyed
401
+
402
+A Boolean value that indicates if the connection is destroyed or not. Once a
403
+connection is destroyed no further data can be transferred using it.
404
405
### socket.end([data][, encoding])
406
407
Half-closes the socket. i.e., it sends a FIN packet. It is possible the
0 commit comments