Skip to content

Commit

Permalink
doc: fix outgoingMessage.removeHeader() signature
Browse files Browse the repository at this point in the history
Specify that `outgoingMessage.removeHeader()` takes a `name` argument
whose type is string.
  • Loading branch information
lpinca committed Apr 8, 2022
1 parent 8055c7b commit d93a1df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2644,12 +2644,14 @@ it inherits from `Stream`.

The User should not call this function directly.

### `outgoingMessage.removeHeader()`
### `outgoingMessage.removeHeader(name)`

<!-- YAML
added: v0.4.0
added: v0.4.0
-->

* `name` {string} Header name

Removes a header that is queued for implicit sending.

```js
Expand Down

0 comments on commit d93a1df

Please sign in to comment.