summaryrefslogtreecommitdiff
path: root/doc/api/https.md
diff options
context:
space:
mode:
authorsaadq <saad@saadquadri.com>2016-07-14 22:41:29 -0700
committerLance Ball <lball@redhat.com>2016-07-15 13:51:58 -0400
commit28d9485c25a0ddeb8817525e25d4c7bb1ee5013b (patch)
treebfcfa4f9b6b79c10fe9548ff54ee653a36e848ca /doc/api/https.md
parentbb9eabec40ed95e0193d08bf3f9b16d774904a17 (diff)
downloadandroid-node-v8-28d9485c25a0ddeb8817525e25d4c7bb1ee5013b.tar.gz
android-node-v8-28d9485c25a0ddeb8817525e25d4c7bb1ee5013b.tar.bz2
android-node-v8-28d9485c25a0ddeb8817525e25d4c7bb1ee5013b.zip
doc: fix inconsistencies in code style
Adds missing semicolons, removes extra white space, and properly indents various code snippets in the documentation. Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: targos - Michaƫl Zasso <mic.besace@gmail.com> PR-URL: https://github.com/nodejs/node/pull/7745
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