node icon indicating copy to clipboard operation
node copied to clipboard

doc: http.ServerResponse close event

Open brainsiq opened this issue 5 years ago • 2 comments

  • Version: 12.x

In the version 10 documentation it states that the 'close' event is emitted on a response when the connection is terminated before the response has ended.

In the version 12 documentation it simply states that the connection was terminated. This does not seem consistent with the behaviour I have seen, where the event is actually emitted at the end of each response, which I have also found described in a commit introduced in version 11.

Can you clarify that the event in version 12 is in fact emitted at the end of each response, in which case I would be happy to submit a PR to update the docs.

brainsiq avatar Nov 15 '19 12:11 brainsiq