diff options
author | Nick Schonning <nschonni@gmail.com> | 2019-10-10 01:49:08 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-11 08:15:58 +0300 |
commit | 81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch) | |
tree | 151d163358f029f8f686b595db2c565ddcff1070 /doc/api/https.md | |
parent | a1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff) |
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.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/https.md b/doc/api/https.md index ee8776f9bd7..0d8f859e9c7 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: |