Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 81d1f83

Browse files
scopjasnell
authored andcommitted
doc: Document http.request protocol option
Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #25592
1 parent b436e59 commit 81d1f83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ automatically parsed with [url.parse()][].
457457

458458
Options:
459459

460+
- `protocol`: Protocol to use. Defaults to `'http:'`.
460461
- `host`: A domain name or IP address of the server to issue the request to.
461462
Defaults to `'localhost'`.
462463
- `hostname`: To support `url.parse()` `hostname` is preferred over `host`

0 commit comments

Comments
 (0)