diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-02 04:44:32 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-04 12:30:36 +0300 |
commit | 237cbe10fb82ba6ec69b14193a4a970e184306e7 (patch) | |
tree | 8fbbac215e1f9afcac524404e766c4157d8da145 /doc/api/https.md | |
parent | f7049a20068dc8a7e904b7cdd3d5b307b595dd3a (diff) | |
download | android-node-v8-237cbe10fb82ba6ec69b14193a4a970e184306e7.tar.gz android-node-v8-237cbe10fb82ba6ec69b14193a4a970e184306e7.tar.bz2 android-node-v8-237cbe10fb82ba6ec69b14193a4a970e184306e7.zip |
doc,tools: formalize, unify, codify default values
PR-URL: https://github.com/nodejs/node/pull/19737
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r-- | doc/api/https.md | 12 |
1 files changed, 6 insertions, 6 deletions
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`][]. <!-- YAML added: v0.11.2 --> -- `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()`][]. <!-- YAML added: v0.11.2 --> -- {number} Defaults to 120000 (2 minutes). +- {number} **Default:** `120000` (2 minutes) See [`http.Server#timeout`][]. @@ -57,7 +57,7 @@ See [`http.Server#timeout`][]. <!-- YAML added: v8.0.0 --> -- {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} |