Skip to content

Commit

Permalink
doc: mention http request "aborted" events
Browse files Browse the repository at this point in the history
Fixes: #6925
PR-URL: #7270
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
kemitchell authored and Myles Borins committed Jul 12, 2016
1 parent 9ae681a commit 7d62f80
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,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: 'connect'

`function (response, socket, head) { }`
Expand Down Expand Up @@ -853,6 +860,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 () { }`
Expand Down

0 comments on commit 7d62f80

Please sign in to comment.