diff --git a/doc/api/http.md b/doc/api/http.md index 7307bee93ad3d9..44af77c31027d3 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -438,6 +438,15 @@ deprecated: Emitted when the request has been aborted by the client. This event is only emitted on the first call to `abort()`. +### Event: `'close'` + + + +Indicates that the request is completed, or its underlying connection was +terminated prematurely (before the response completion). + ### Event: `'connect'` + +Emitted when the request has been sent. More specifically, this event is emitted +when the last segment of the response headers and body have been handed off to +the operating system for transmission over the network. It does not imply that +the server has received anything yet. + ### Event: `'information'`