mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: fix HTTP req/res 'close' description
PR-URL: https://github.com/nodejs/node/pull/21047 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
7a3bbbf41b
commit
8ab7ea6eed
1 file changed
+1
-3
+1
-3
@@ -1019,8 +1019,7 @@ interface. This is an [`EventEmitter`][] with the following events:
|
||||
added: v0.6.7
|
||||
-->
|
||||
|
||||
Indicates that the underlying connection was terminated before
|
||||
[`response.end()`][] was called or able to flush.
|
||||
Indicates that the underlying connection was terminated.
|
||||
|
||||
### Event: 'finish'
|
||||
<!-- YAML
|
||||
@@ -1512,7 +1511,6 @@ added: v0.4.2
|
||||
-->
|
||||
|
||||
Indicates that the underlying connection was closed.
|
||||
Just like `'end'`, this event occurs only once per response.
|
||||
|
||||
### message.aborted
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user