Skip to content

Commit

Permalink
doc: document response.finished in http.markdown
Browse files Browse the repository at this point in the history
Adds mention of response.finished to http.markdown
Originally submitted by @HACKERJS. The original
commit needed a bit of cleanup on grammar.

Reviewed By: James M Snell <[email protected]>
  • Loading branch information
liveinjs authored and jasnell committed Aug 22, 2015
1 parent 43660ad commit 6f2ec25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ If `data` is specified, it is equivalent to calling
If `callback` is specified, it will be called when the response stream
is finished.

### response.finished

Boolean value that indicates whether the response has completed. Starts
as `false`. After `response.end()` executes, the value will be `true`.

## http.request(options[, callback])

io.js maintains several connections per server to make HTTP requests.
Expand Down

0 comments on commit 6f2ec25

Please sign in to comment.