Skip to content

Commit c9867fe

Browse files
liveinjsrvagg
authored andcommitted
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 <[email protected]> Reviewed By: Michaël Zasso <[email protected]> PR-URL: #2414
1 parent 7f23a83 commit c9867fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api/http.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,11 @@ If `data` is specified, it is equivalent to calling
452452
If `callback` is specified, it will be called when the response stream
453453
is finished.
454454

455+
### response.finished
456+
457+
Boolean value that indicates whether the response has completed. Starts
458+
as `false`. After `response.end()` executes, the value will be `true`.
459+
455460
## http.request(options[, callback])
456461

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

0 commit comments

Comments
 (0)