summaryrefslogtreecommitdiff
path: root/doc/api/https.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-09 18:49:08 -0400
committerRich Trott <rtrott@gmail.com>2019-10-10 22:15:58 -0700
commit81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch)
tree151d163358f029f8f686b595db2c565ddcff1070 /doc/api/https.md
parenta1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff)
downloadandroid-node-v8-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.tar.gz
android-node-v8-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.tar.bz2
android-node-v8-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.zip
doc: escape brackets not used as markdown reference links
These can turn into links if reference links are added to the document PR-URL: https://github.com/nodejs/node/pull/29809 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r--doc/api/https.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index ee8776f9bd..0d8f859e9c 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -23,7 +23,7 @@ changes:
An [`Agent`][] object for HTTPS similar to [`http.Agent`][]. See
[`https.request()`][] for more information.
-### new Agent([options])
+### new Agent(\[options\])
<!-- YAML
changes:
- version: v12.5.0
@@ -54,7 +54,7 @@ added: v0.3.4
See [`http.Server`][] for more information.
-### server.close([callback])
+### server.close(\[callback\])
<!-- YAML
added: v0.1.90
-->
@@ -84,7 +84,7 @@ This method is identical to [`server.listen()`][] from [`net.Server`][].
See [`http.Server#maxHeadersCount`][].
-### server.setTimeout([msecs][, callback])
+### server.setTimeout(\[msecs\]\[, callback\])
<!-- YAML
added: v0.11.2
-->
@@ -113,7 +113,7 @@ added: v8.0.0
See [`http.Server#keepAliveTimeout`][].
-## https.createServer([options][, requestListener])
+## https.createServer(\[options\]\[, requestListener\])
<!-- YAML
added: v0.3.4
-->
@@ -156,8 +156,8 @@ https.createServer(options, (req, res) => {
}).listen(8000);
```
-## https.get(options[, callback])
-## https.get(url[, options][, callback])
+## https.get(options\[, callback\])
+## https.get(url\[, options\]\[, callback\])
<!-- YAML
added: v0.3.6
changes:
@@ -204,8 +204,8 @@ added: v0.5.9
Global instance of [`https.Agent`][] for all HTTPS client requests.
-## https.request(options[, callback])
-## https.request(url[, options][, callback])
+## https.request(options\[, callback\])
+## https.request(url\[, options\]\[, callback\])
<!-- YAML
added: v0.3.6
changes: