Skip to content

Commit 16f5476

Browse files
scopjasnell
authored andcommitted
doc: Document http.request protocol option
Reviewed-By: James M Snell <[email protected]> PR-URL: nodejs/node-v0.x-archive#25591
1 parent 618e4ec commit 16f5476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http.markdown

+1
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)