Skip to content

Commit fb94876

Browse files
committed
Update http.markdown
response.finished
1 parent 7222539 commit fb94876

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/http.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,12 @@ Example:
330330
After response header was sent to the client, this property indicates the
331331
status code which was sent out.
332332

333+
### response.finished
334+
335+
Default `response.finished = false` ,
336+
When `response.end()` be executed, `response.finished = true`.
337+
338+
333339
### response.statusMessage
334340

335341
When using implicit headers (not calling `response.writeHead()` explicitly), this property

0 commit comments

Comments
 (0)