We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9950f3a commit a8c5192Copy full SHA for a8c5192
doc/api/http.md
@@ -914,9 +914,9 @@ Just like `'end'`, this event occurs only once per response.
914
915
* `error` {Error}
916
917
-Calls `.destroy()` on the socket that received the `IncomingMessage`. If `error`
918
-is provided, an `'error'` event is fired and `error` is passed as an argument to
919
-any listeners on the event.
+Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`
+is provided, an `'error'` event is emitted and `error` is passed as an argument
+to any listeners on the event.
920
921
### message.headers
922
0 commit comments