Browse Source

doc: document response.finished in http.markdown

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: https://github.com/nodejs/node/pull/2414
v4.0.0-rc
hackerjs 11 years ago
committed by James M Snell
parent
commit
3a7be23f98
  1. 5
      doc/api/http.markdown

5
doc/api/http.markdown

@ -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.

Loading…
Cancel
Save