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 5380743

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

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
@@ -397,6 +397,11 @@ with options either as either `{port: port, host: host}` or `{path: path}`.
397397
Ensures that no more I/O activity happens on this socket. Only necessary in
398398
case of errors (parse error or so).
399399

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+
400405
### socket.end([data][, encoding])
401406

402407
Half-closes the socket. i.e., it sends a FIN packet. It is possible the

0 commit comments

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