doc: Document http.request protocol option

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/joyent/node/pull/25591
This commit is contained in:
Ville Skyttä authored and James M Snell committed 2015-08-03 20:44:40 -07:00
1 parent 618e4ecda9
commit 16f547600a
1 file changed
+1
+1
View File
@@ -457,6 +457,7 @@ automatically parsed with [url.parse()][].
Options:
- `protocol`: Protocol to use. Defaults to `'http:'`.
- `host`: A domain name or IP address of the server to issue the request to.
Defaults to `'localhost'`.
- `hostname`: To support `url.parse()` `hostname` is preferred over `host`