From 16f547600a81552b7c9515cda8f2b1f38f98dad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 12 Jun 2015 11:00:20 +0300 Subject: doc: Document http.request protocol option Reviewed-By: James M Snell PR-URL: https://github.com/joyent/node/pull/25591 --- doc/api/http.markdown | 1 + 1 file changed, 1 insertion(+) 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` -- cgit v1.2.1