mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: mention http request "aborted" events
Fixes: https://github.com/nodejs/node/issues/6925 PR-URL: https://github.com/nodejs/node/pull/7270 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
committed by
Anna Henningsen
parent
a84b0f2f76
commit
86fdbe0c25
@@ -219,6 +219,13 @@ The request implements the [Writable Stream][] interface. This is an
|
||||
Emitted when the request has been aborted by the client. This event is only
|
||||
emitted on the first call to `abort()`.
|
||||
|
||||
### Event: 'aborted'
|
||||
|
||||
`function () { }`
|
||||
|
||||
Emitted when the request has been aborted by the server and the network
|
||||
socket has closed.
|
||||
|
||||
### Event: 'checkExpectation'
|
||||
|
||||
`function (request, response) { }`
|
||||
@@ -903,6 +910,13 @@ headers and data.
|
||||
It implements the [Readable Stream][] interface, as well as the
|
||||
following additional events, methods, and properties.
|
||||
|
||||
### Event: 'aborted'
|
||||
|
||||
`function () { }`
|
||||
|
||||
Emitted when the request has been aborted by the client and the network
|
||||
socket has closed.
|
||||
|
||||
### Event: 'close'
|
||||
|
||||
`function () { }`
|
||||
|
||||
Reference in New Issue
Block a user