Skip to content

Commit

Permalink
doc: clarify url param of http.get
Browse files Browse the repository at this point in the history
  • Loading branch information
rexagod committed Jun 6, 2020
1 parent 3ac50e1 commit b0e8906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2173,7 +2173,7 @@ changes:
description: The `options` parameter can be a WHATWG `URL` object.
-->

* `url` {string | URL}
* `url` {string | URL} `URL` must be an instance of the `URL` class.
* `options` {Object} Accepts the same `options` as
[`http.request()`][], with the `method` always set to `GET`.
Properties that are inherited from the prototype are ignored.
Expand Down

0 comments on commit b0e8906

Please sign in to comment.