Commit c7f82ec
doc: fix the return type of outgoingMessage.setHeaders()
The actual implementation returns `outgoingMessage` itself, but not
exactly `http.ServerResponse`.
Refs: https://github.com/nodejs/node/blob/20d8b85d3493bec944de541a896e0165dd356345/lib/_http_outgoing.js#L712-L751
PR-URL: #55290
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Qingyu Deng <i@ayase-lab.com>1 parent a21be02 commit c7f82ec
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3289 | 3289 | | |
3290 | 3290 | | |
3291 | 3291 | | |
3292 | | - | |
3293 | | - | |
3294 | | - | |
| 3292 | + | |
3295 | 3293 | | |
3296 | 3294 | | |
3297 | 3295 | | |
| |||
3300 | 3298 | | |
3301 | 3299 | | |
3302 | 3300 | | |
3303 | | - | |
| 3301 | + | |
3304 | 3302 | | |
3305 | 3303 | | |
3306 | 3304 | | |
3307 | 3305 | | |
3308 | 3306 | | |
3309 | 3307 | | |
3310 | | - | |
| 3308 | + | |
3311 | 3309 | | |
3312 | 3310 | | |
3313 | 3311 | | |
| |||
0 commit comments