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 <jasnell@gmail.com>
Reviewed By: Michaël Zasso <mic.besace@gmail.com>
PR-URL: #2414
  • Loading branch information
liveinjs authored and rvagg committed Aug 24, 2015
1 parent 7f23a83 commit c9867fe
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 c9867fe

Please sign in to comment.