Skip to content

Commit e6a4155

Browse files
authored
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 f960ee4 commit e6a4155

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
@@ -940,7 +940,7 @@ changes:
940940

941941
Type: End-of-Life
942942

943-
The [`tls.CryptoStream`][] class was removed. Please use
943+
The `tls.CryptoStream` class was removed. Please use
944944
[`tls.TLSSocket`][] instead.
945945

946946
### DEP0043: `tls.SecurePair`
@@ -3994,7 +3994,6 @@ When an `args` array is passed to [`child_process.execFile`][] or [`child_proces
39943994
[`timeout.ref()`]: timers.md#timeoutref
39953995
[`timeout.refresh()`]: timers.md#timeoutrefresh
39963996
[`timeout.unref()`]: timers.md#timeoutunref
3997-
[`tls.CryptoStream`]: tls.md#class-tlscryptostream
39983997
[`tls.SecureContext`]: tls.md#tlscreatesecurecontextoptions
39993998
[`tls.TLSSocket`]: tls.md#class-tlstlssocket
40003999
[`tls.checkServerIdentity()`]: tls.md#tlscheckserveridentityhostname-cert

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.Server`
580557

581558
<!-- YAML

0 commit comments

Comments
 (0)