Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 041edab

Browse files
kemitchellMyles Borins
authored and
Myles Borins
committedJul 14, 2016
doc: mention http request "aborted" events
Fixes: #6925 PR-URL: #7270 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 83a1051 commit 041edab

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎doc/api/http.md

+14
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)
Please sign in to comment.