Skip to content

Commit

Permalink
doc: document "http: lazy create IncomingMessage.headers"
Browse files Browse the repository at this point in the history
Refs: #35281
Refs: #36550

Co-authored-by: raisinten <raisinten@gmail.com>

PR-URL: #36601
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
ExE-Boss authored and danielleadams committed Jan 12, 2021
1 parent 3ee4cfc commit 5645b21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api/http.md
Expand Up @@ -1980,6 +1980,12 @@ as an argument to any listeners on the event.
### `message.headers`
<!-- YAML
added: v0.1.5
changes:
- version: v15.1.0
pr-url: https://github.com/nodejs/node/pull/35281
description: >-
`message.headers` is now lazily computed using an accessor property
on the prototype.
-->

* {Object}
Expand Down

0 comments on commit 5645b21

Please sign in to comment.