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 ccb278d

Browse filesBrowse files
kemitchellMyles Borins
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 868af29 commit ccb278d
Copy full SHA for ccb278d

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
@@ -207,6 +207,13 @@ The request implements the [Writable Stream][] interface. This is an
207207
Emitted when the request has been aborted by the client. This event is only
208208
emitted on the first call to `abort()`.
209209

210+
### Event: 'aborted'
211+
212+
`function () { }`
213+
214+
Emitted when the request has been aborted by the server and the network
215+
socket has closed.
216+
210217
### Event: 'connect'
211218

212219
`function (response, socket, head) { }`
@@ -853,6 +860,13 @@ headers and data.
853860
It implements the [Readable Stream][] interface, as well as the
854861
following additional events, methods, and properties.
855862

863+
### Event: 'aborted'
864+
865+
`function () { }`
866+
867+
Emitted when the request has been aborted by the client and the network
868+
socket has closed.
869+
856870
### Event: 'close'
857871

858872
`function () { }`

0 commit comments

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