Skip to content

Commit a8c5192

Browse files
committed
squash:nits
1 parent 9950f3a commit a8c5192

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -914,9 +914,9 @@ Just like `'end'`, this event occurs only once per response.
914914

915915
* `error` {Error}
916916

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.
917+
Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`
918+
is provided, an `'error'` event is emitted and `error` is passed as an argument
919+
to any listeners on the event.
920920

921921
### message.headers
922922

0 commit comments

Comments
 (0)