Skip to content

Commit

Permalink
doc: document clientRequest.aborted
Browse files Browse the repository at this point in the history
Add documentation for http clientRequest.aborted.

PR-URL: #11544
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
zbjornson authored and MylesBorins committed Mar 9, 2017
1 parent a7df345 commit d622b67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,14 @@ added: v0.3.8
Marks the request as aborting. Calling this will cause remaining data
in the response to be dropped and the socket to be destroyed.

### request.aborted
<!-- YAML
added: v0.11.14
-->

If a request has been aborted, this value is the time when the request was
aborted, in milliseconds since 1 January 1970 00:00:00 UTC.

### request.end([data][, encoding][, callback])
<!-- YAML
added: v0.1.90
Expand Down

0 comments on commit d622b67

Please sign in to comment.