Skip to content

Commit 3ba17b1

Browse files
lpincatargos
authored andcommitted
doc: fix outgoingMessage.removeHeader() signature
Specify that `outgoingMessage.removeHeader()` takes a `name` argument whose type is string. PR-URL: #42652 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
1 parent ba1f864 commit 3ba17b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/api/http.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2641,12 +2641,14 @@ it inherits from `Stream`.
26412641

26422642
The User should not call this function directly.
26432643

2644-
### `outgoingMessage.removeHeader()`
2644+
### `outgoingMessage.removeHeader(name)`
26452645

26462646
<!-- YAML
2647-
added: v0.4.0
2647+
added: v0.4.0
26482648
-->
26492649

2650+
* `name` {string} Header name
2651+
26502652
Removes a header that is queued for implicit sending.
26512653

26522654
```js

0 commit comments

Comments
 (0)