summaryrefslogtreecommitdiff
path: root/doc/api/https.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/https.md')
-rw-r--r--doc/api/https.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index 66c96f2c67..777fbab741 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -28,6 +28,7 @@ This class is a subclass of `tls.Server` and emits events same as
added: v0.1.90
-->
* `callback` {Function}
+* Returns: {https.Server}
See [`server.close()`][`http.close()`] from the HTTP module for details.
@@ -49,6 +50,7 @@ added: v0.11.2
-->
* `msecs` {number} **Default:** `120000` (2 minutes)
* `callback` {Function}
+* Returns: {https.Server}
See [`http.Server#setTimeout()`][].
@@ -75,6 +77,7 @@ 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.
+* Returns: {https.Server}
```js
// curl -k https://localhost:8000/