diff options
author | rickyes <mail@zhoumq.cn> | 2020-04-11 21:07:35 +0300 |
---|---|---|
committer | Andrey Pechkurov <apechkurov@gmail.com> | 2020-04-27 16:52:19 +0300 |
commit | 58682d823acb0e566f16d1d8b33b83dfebf3aa5d (patch) | |
tree | e31c4a7a7269294d8870aaf1c0b3f5e1642cd35e /doc/api/https.md | |
parent | b37ec37210237ab65040948791916912c4ab055d (diff) |
tls: add highWaterMark option for connect
PR-URL: https://github.com/nodejs/node/pull/32786
Fixes: https://github.com/nodejs/node/issues/32781
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r-- | doc/api/https.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/https.md b/doc/api/https.md index ac53b6f0fde..2b19831e9e9 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -238,6 +238,9 @@ Global instance of [`https.Agent`][] for all HTTPS client requests. <!-- YAML added: v0.3.6 changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/32786 + description: The `highWaterMark` option is accepted now. - version: v10.9.0 pr-url: https://github.com/nodejs/node/pull/21616 description: The `url` parameter can now be passed along with a separate @@ -263,7 +266,8 @@ Makes a request to a secure web server. The following additional `options` from [`tls.connect()`][] are also accepted: `ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`, `honorCipherOrder`, `key`, `passphrase`, `pfx`, `rejectUnauthorized`, -`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`. +`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`, +`highWaterMark`. `options` can be an object, a string, or a [`URL`][] object. If `options` is a string, it is automatically parsed with [`new URL()`][]. If it is a [`URL`][] |