From 237cbe10fb82ba6ec69b14193a4a970e184306e7 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 2 Apr 2018 04:44:32 +0300 Subject: doc,tools: formalize, unify, codify default values PR-URL: https://github.com/nodejs/node/pull/19737 Reviewed-By: Gus Caplan Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/https.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/api/https.md') diff --git a/doc/api/https.md b/doc/api/https.md index 8c95487cb5..131553c211 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -40,7 +40,7 @@ This method is identical to [`server.listen()`][] from [`net.Server`][]. -- `msecs` {number} Defaults to 120000 (2 minutes). +- `msecs` {number} **Default:** `120000` (2 minutes) - `callback` {Function} See [`http.Server#setTimeout()`][]. @@ -49,7 +49,7 @@ See [`http.Server#setTimeout()`][]. -- {number} Defaults to 120000 (2 minutes). +- {number} **Default:** `120000` (2 minutes) See [`http.Server#timeout`][]. @@ -57,7 +57,7 @@ See [`http.Server#timeout`][]. -- {number} Defaults to 5000 (5 seconds). +- {number} **Default:** `5000` (5 seconds) See [`http.Server#keepAliveTimeout`][]. @@ -160,9 +160,9 @@ changes: --> - `options` {Object | string | URL} Accepts all `options` from [`http.request()`][], with some differences in default values: - - `protocol` Defaults to `https:` - - `port` Defaults to `443`. - - `agent` Defaults to `https.globalAgent`. + - `protocol` **Default:** `https:` + - `port` **Default:** `443` + - `agent` **Default:** `https.globalAgent` - `callback` {Function} -- cgit v1.2.3