Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-09-06 08:42:22 +0300
committerTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2019-09-10 02:45:24 +0300
commitc929b15d1d65ae88261c65e901c7dca9f110a2c5 (patch)
tree8f76e0fa29566267ba53ad0bfdef72ea72129e6d /doc/api/https.md
parent6723169097759502da11c47389ffb3d650404417 (diff)
doc: space around lists
Address markdownlint rule MD032. Flagged a few mixed list styles. PR-URL: https://github.com/nodejs/node/pull/29467 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r--doc/api/https.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index d396c8a70da..7f188ea8a3f 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -31,6 +31,7 @@ changes:
description: do not automatically set servername if the target host was
specified using an IP address.
-->
+
* `options` {Object} Set of configurable options to set on the agent.
Can have the same fields as for [`http.Agent(options)`][], and
* `maxCachedSessions` {number} maximum number of TLS cached sessions.
@@ -57,6 +58,7 @@ See [`http.Server`][] for more information.
<!-- YAML
added: v0.1.90
-->
+
* `callback` {Function}
* Returns: {https.Server}
@@ -66,6 +68,7 @@ See [`server.close()`][`http.close()`] from the HTTP module for details.
<!-- YAML
added: v11.3.0
-->
+
- {number} **Default:** `40000`
See [`http.Server#headersTimeout`][].
@@ -85,6 +88,7 @@ See [`http.Server#maxHeadersCount`][].
<!-- YAML
added: v0.11.2
-->
+
* `msecs` {number} **Default:** `120000` (2 minutes)
* `callback` {Function}
* Returns: {https.Server}
@@ -95,6 +99,7 @@ See [`http.Server#setTimeout()`][].
<!-- YAML
added: v0.11.2
-->
+
- {number} **Default:** `120000` (2 minutes)
See [`http.Server#timeout`][].
@@ -103,6 +108,7 @@ See [`http.Server#timeout`][].
<!-- YAML
added: v8.0.0
-->
+
- {number} **Default:** `5000` (5 seconds)
See [`http.Server#keepAliveTimeout`][].
@@ -111,6 +117,7 @@ See [`http.Server#keepAliveTimeout`][].
<!-- YAML
added: v0.3.4
-->
+
* `options` {Object} Accepts `options` from [`tls.createServer()`][],
[`tls.createSecureContext()`][] and [`http.createServer()`][].
* `requestListener` {Function} A listener to be added to the `'request'` event.
@@ -162,6 +169,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/10638
description: The `options` parameter can be a WHATWG `URL` object.
-->
+
* `url` {string | URL}
* `options` {Object | string | URL} Accepts the same `options` as
[`https.request()`][], with the `method` always set to `GET`.
@@ -212,6 +220,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/10638
description: The `options` parameter can be a WHATWG `URL` object.
-->
+
* `url` {string | URL}
* `options` {Object | string | URL} Accepts all `options` from
[`http.request()`][], with some differences in default values: