Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dddfed2

Browse filesBrowse files
tusharmathevanlucas
authored andcommitted
doc: document socket.destroyed
Fixes: #5898 PR-URL: #6128 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent bd8c951 commit dddfed2
Copy full SHA for dddfed2

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/net.md‎

Copy file name to clipboardExpand all lines: doc/api/net.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,11 @@ added: v0.1.90
520520
Ensures that no more I/O activity happens on this socket. Only necessary in
521521
case of errors (parse error or so).
522522

523+
### socket.destroyed
524+
525+
A Boolean value that indicates if the connection is destroyed or not. Once a
526+
connection is destroyed no further data can be transferred using it.
527+
523528
### socket.end([data][, encoding])
524529
<!-- YAML
525530
added: v0.1.90

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.