mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: produce JSON documentation using unified/remark/rehype
PR-URL: https://github.com/nodejs/node/pull/21697 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
@@ -123,7 +123,7 @@ changes:
|
||||
pr-url: https://github.com/nodejs/node/pull/10638
|
||||
description: The `options` parameter can be a WHATWG `URL` object.
|
||||
-->
|
||||
- `url` {string | URL}
|
||||
* `url` {string | URL}
|
||||
* `options` {Object | string | URL} Accepts the same `options` as
|
||||
[`https.request()`][], with the `method` always set to `GET`.
|
||||
* `callback` {Function}
|
||||
@@ -174,7 +174,7 @@ changes:
|
||||
pr-url: https://github.com/nodejs/node/pull/10638
|
||||
description: The `options` parameter can be a WHATWG `URL` object.
|
||||
-->
|
||||
- `url` {string | URL}
|
||||
* `url` {string | URL}
|
||||
* `options` {Object | string | URL} Accepts all `options` from
|
||||
[`http.request()`][], with some differences in default values:
|
||||
- `protocol` **Default:** `'https:'`
|
||||
|
||||
Reference in New Issue
Block a user