Skip to content

Commit

Permalink
doc: fix added: info for some methods
Browse files Browse the repository at this point in the history
`outgoingMessage.getHeader()`, `outgoingMessage.getHeaderNames()`, and
`outgoingMessage.getHeaders()` were added to Node.js v7.7.0 via
3e8d43d.

PR-URL: nodejs#42661
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Qingyu Deng <i@ayase-lab.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
  • Loading branch information
lpinca authored and xtx1130 committed Apr 25, 2022
1 parent cc1e9c4 commit a19bfcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@ exist in message, it will be `undefined`.
### `outgoingMessage.getHeaderNames()`

<!-- YAML
added: v8.0.0
added: v7.7.0
-->

* Returns {string\[]}
Expand All @@ -2590,7 +2590,7 @@ names are lowercase.
### `outgoingMessage.getHeaders()`

<!-- YAML
added: v8.0.0
added: v7.7.0
-->

* Returns: {Object}
Expand All @@ -2617,7 +2617,7 @@ const headers = outgoingMessage.getHeaders();
### `outgoingMessage.hasHeader(name)`

<!-- YAML
added: v8.0.0
added: v7.7.0
-->

* `name` {string}
Expand Down

0 comments on commit a19bfcd

Please sign in to comment.