Skip to content

Commit 329d0a0

Browse files
authored
lib: deprecate _http_*
Signed-off-by: GitHub <noreply@github.com>
1 parent f497881 commit 329d0a0

File tree

14 files changed

+4781
-4520
lines changed

14 files changed

+4781
-4520
lines changed

doc/api/deprecations.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3955,6 +3955,22 @@ Type: Documentation-only
39553955
The support for priority signaling has been deprecated in the [RFC 9113][], and
39563956
will be removed in future versions of Node.js.
39573957

3958+
### DEP0194: `require('node:_http_*')`
3959+
3960+
<!-- YAML
3961+
changes:
3962+
- version: REPLACEME
3963+
pr-url: https://github.com/nodejs/node/pull/58535
3964+
description: Runtime deprecation.
3965+
-->
3966+
3967+
Type: Runtime
3968+
3969+
The `node:_http_agent`, `node:_http_client`, `node:_http_common`, `node:_http_incoming`,
3970+
`node:_http_outgoing` and `node:_http_server` modules are deprecated as they should be considered
3971+
an internal nodejs implementation rather than a public facing API, use `node:http` instead.
3972+
3973+
39583974
[DEP0142]: #dep0142-repl_builtinlibs
39593975
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
39603976
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3

0 commit comments

Comments
 (0)