Skip to content

Commit d8d2df0

Browse files
authored
lib: docs deprecate _http_*
Ref nodejs#58535
1 parent e665231 commit d8d2df0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/deprecations.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4080,6 +4080,21 @@ Type: Runtime
40804080

40814081
Creating SHAKE-128 and SHAKE-256 digests without an explicit `options.outputLength` is deprecated.
40824082

4083+
### DEP0198: `require('node:_http_*')`
4084+
4085+
<!-- YAML
4086+
changes:
4087+
- version: REPLACEME
4088+
pr-url: https://github.com/nodejs/node/pull/58262
4089+
description: Documentation-only deprecation.
4090+
-->
4091+
4092+
Type: Documentation-only
4093+
4094+
The `node:_http_agent`, `node:_http_client`, `node:_http_common`, `node:_http_incoming`,
4095+
`node:_http_outgoing` and `node:_http_server` modules are deprecated as they should be considered
4096+
an internal nodejs implementation rather than a public facing API, use `node:http` instead.
4097+
40834098
[DEP0142]: #dep0142-repl_builtinlibs
40844099
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
40854100
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3

0 commit comments

Comments
 (0)