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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index c76f1ef837..620b6b36c7 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -231,7 +231,7 @@ options.agent = new https.Agent(options);
var req = https.request(options, (res) => {
...
-}
+});
```
Alternatively, opt out of connection pooling by not using an `Agent`.
@@ -251,7 +251,7 @@ var options = {
var req = https.request(options, (res) => {
...
-}
+});
```
[`Agent`]: #https_class_https_agent