diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-26 19:02:27 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-29 16:53:03 +0300 |
commit | 1a25f9639a9668d8ea90022b0f3d3b47d29971b6 (patch) | |
tree | ceba486d64311f7d40be3ad57db6bb217f9213fa /doc/api/https.md | |
parent | b2f0cfa6b0e139a2f990d4e1e7104abf015fe8e7 (diff) | |
download | android-node-v8-1a25f9639a9668d8ea90022b0f3d3b47d29971b6.tar.gz android-node-v8-1a25f9639a9668d8ea90022b0f3d3b47d29971b6.tar.bz2 android-node-v8-1a25f9639a9668d8ea90022b0f3d3b47d29971b6.zip |
doc: remove redundant 'Example:' and similar notes
Some nits were also fixed in passing.
PR-URL: https://github.com/nodejs/node/pull/22537
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r-- | doc/api/https.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/api/https.md b/doc/api/https.md index ce6da9ae81..3f3dc54b44 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -76,8 +76,6 @@ added: v0.3.4 [`tls.createSecureContext()`][] and [`http.createServer()`][]. * `requestListener` {Function} A listener to be added to the `'request'` event. -Example: - ```js // curl -k https://localhost:8000/ const https = require('https'); @@ -134,8 +132,6 @@ Like [`http.get()`][] but for HTTPS. string, it is automatically parsed with [`new URL()`][]. If it is a [`URL`][] object, it will be automatically converted to an ordinary `options` object. -Example: - ```js const https = require('https'); @@ -193,8 +189,6 @@ The following additional `options` from [`tls.connect()`][] are also accepted: string, it is automatically parsed with [`new URL()`][]. If it is a [`URL`][] object, it will be automatically converted to an ordinary `options` object. -Example: - ```js const https = require('https'); @@ -239,8 +233,6 @@ const req = https.request(options, (res) => { Alternatively, opt out of connection pooling by not using an [`Agent`][]. -Example: - ```js const options = { hostname: 'encrypted.google.com', |