node icon indicating copy to clipboard operation
node copied to clipboard

doc: fix http.Server upgrade event parameter name

Open jfhr opened this issue 1 year ago • 1 comments

The first parameter passed to listeners on an http.Servers upgrade event is the client request. This changes the docs to call that parameter 'request'; before, it was confusingly called 'response'.

Fixes #51753

jfhr avatar Feb 14 '24 20:02 jfhr

Review requested:

  • [ ] @nodejs/http
  • [ ] @nodejs/net

nodejs-github-bot avatar Feb 14 '24 20:02 nodejs-github-bot