summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/http.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
index 966b304b56..ad2473c980 100644
--- a/doc/api/http.markdown
+++ b/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.