summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2015-06-12 11:00:20 +0300
committerJames M Snell <jasnell@gmail.com>2015-08-03 20:44:40 -0700
commit16f547600a81552b7c9515cda8f2b1f38f98dad5 (patch)
treed3d409f70e49c53271f24eb7938c0be72f7f353c
parent618e4ecda99f13c781945df6c3b8433dca3bad87 (diff)
downloadnode-16f547600a81552b7c9515cda8f2b1f38f98dad5.tar.gz
doc: Document http.request protocol option
Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/joyent/node/pull/25591
-rw-r--r--doc/api/http.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
index bfdeb8640..7807099de 100644
--- a/doc/api/http.markdown
+++ b/doc/api/http.markdown
@@ -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`