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 ec515c5

Browse filesBrowse files
kemitchellFishrock123
authored andcommitted
doc: mention http request "aborted" events
Fixes: #6925 PR-URL: #7270 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 0f434fe commit ec515c5
Copy full SHA for ec515c5

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+14Lines changed: 14 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,13 @@ The request implements the [Writable Stream][] interface. This is an
219219
Emitted when the request has been aborted by the client. This event is only
220220
emitted on the first call to `abort()`.
221221

222+
### Event: 'aborted'
223+
224+
`function () { }`
225+
226+
Emitted when the request has been aborted by the server and the network
227+
socket has closed.
228+
222229
### Event: 'checkExpectation'
223230

224231
`function (request, response) { }`
@@ -903,6 +910,13 @@ headers and data.
903910
It implements the [Readable Stream][] interface, as well as the
904911
following additional events, methods, and properties.
905912

913+
### Event: 'aborted'
914+
915+
`function () { }`
916+
917+
Emitted when the request has been aborted by the client and the network
918+
socket has closed.
919+
906920
### Event: 'close'
907921

908922
`function () { }`

0 commit comments

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