Skip to content

Commit adc152c

Browse files
authored
doc: added requestOCSP option to tls.connect
Fixes #61042
1 parent 05f8772 commit adc152c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/tls.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,6 +1724,9 @@ changes:
17241724
verification fails. The method should return `undefined` if the `servername`
17251725
and `cert` are verified.
17261726
* `session` {Buffer} A `Buffer` instance, containing TLS session.
1727+
* `requestOCSP` {boolean} If `true`, specifies that the OCSP status request
1728+
extension will be added to the client hello and an `'OCSPResponse'` event
1729+
will be emitted on the socket before establishing a secure communication
17271730
* `minDHSize` {number} Minimum size of the DH parameter in bits to accept a
17281731
TLS connection. When a server offers a DH parameter with a size less
17291732
than `minDHSize`, the TLS connection is destroyed and an error is thrown.

0 commit comments

Comments
 (0)