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
This commit is contained in:
parent
ba50c2d85d
commit
3a7be23f98
@ -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…
x
Reference in New Issue
Block a user