Skip to content

Commit 2c85f79

Browse files
estliberitasrvagg
authored andcommitted
doc: minor improvement to HTTPS doc
Add link to Buffer page. PR-URL: #5002 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Chris Dickinson <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9cf1370 commit 2c85f79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/https.markdown

+2-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ The following options from [`tls.connect()`][] can also be specified. However, a
172172
- `key`: Private key to use for SSL. Default `null`.
173173
- `passphrase`: A string of passphrase for the private key or pfx. Default `null`.
174174
- `cert`: Public x509 certificate to use. Default `null`.
175-
- `ca`: A string, `Buffer` or array of strings or `Buffer`s of trusted
175+
- `ca`: A string, [`Buffer`][] or array of strings or [`Buffer`][]s of trusted
176176
certificates in PEM format. If this is omitted several well known "root"
177177
CAs will be used, like VeriSign. These are used to authorize connections.
178178
- `ciphers`: A string describing the ciphers to use or exclude. Consult
@@ -228,6 +228,7 @@ var req = https.request(options, (res) => {
228228
```
229229
230230
[`Agent`]: #https_class_https_agent
231+
[`Buffer`]: buffer.html#buffer_buffer
231232
[`globalAgent`]: #https_https_globalagent
232233
[`http.Agent`]: http.html#http_class_http_agent
233234
[`http.close()`]: http.html#http_server_close_callback

0 commit comments

Comments
 (0)