Skip to content

Commit b4576a6

Browse files
JonasBaaduh95
authored andcommitted
doc: remove cryptoStream API reference
PR-URL: #57579 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
1 parent e3bb26d commit b4576a6

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

doc/api/deprecations.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ changes:
937937

938938
Type: End-of-Life
939939

940-
The [`tls.CryptoStream`][] class was removed. Please use
940+
The `tls.CryptoStream` class was removed. Please use
941941
[`tls.TLSSocket`][] instead.
942942

943943
### DEP0043: `tls.SecurePair`
@@ -3934,7 +3934,6 @@ When an `args` array is passed to [`child_process.execFile`][] or [`child_proces
39343934
[`timeout.ref()`]: timers.md#timeoutref
39353935
[`timeout.refresh()`]: timers.md#timeoutrefresh
39363936
[`timeout.unref()`]: timers.md#timeoutunref
3937-
[`tls.CryptoStream`]: tls.md#class-tlscryptostream
39383937
[`tls.SecureContext`]: tls.md#tlscreatesecurecontextoptions
39393938
[`tls.SecurePair`]: tls.md#class-tlssecurepair
39403939
[`tls.TLSSocket`]: tls.md#class-tlstlssocket

doc/api/tls.md

-23
Original file line numberDiff line numberDiff line change
@@ -553,29 +553,6 @@ appends a hint suggesting that if the root CA is installed locally,
553553
try running with the `--use-system-ca` flag to direct developers towards a
554554
secure solution, to prevent unsafe workarounds.
555555

556-
## Class: `tls.CryptoStream`
557-
558-
<!-- YAML
559-
added: v0.3.4
560-
deprecated: v0.11.3
561-
-->
562-
563-
> Stability: 0 - Deprecated: Use [`tls.TLSSocket`][] instead.
564-
565-
The `tls.CryptoStream` class represents a stream of encrypted data. This class
566-
is deprecated and should no longer be used.
567-
568-
### `cryptoStream.bytesWritten`
569-
570-
<!-- YAML
571-
added: v0.3.4
572-
deprecated: v0.11.3
573-
-->
574-
575-
The `cryptoStream.bytesWritten` property returns the total number of bytes
576-
written to the underlying socket _including_ the bytes required for the
577-
implementation of the TLS protocol.
578-
579556
## Class: `tls.SecurePair`
580557

581558
<!-- YAML

0 commit comments

Comments
 (0)