Skip to content

Commit a1c0d46

Browse files
jasnellcodebytere
authored andcommittedMar 30, 2020
doc: clarify http2.connect authority details
Fixes: #31827 PR-URL: #31828 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Signed-off-by: James M Snell <jasnell@gmail.com>
1 parent 0b327bd commit a1c0d46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎doc/api/http2.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,11 @@ changes:
22052205
128 header pairs.
22062206
-->
22072207

2208-
* `authority` {string|URL}
2208+
* `authority` {string|URL} The remote HTTP/2 server to connect to. This must
2209+
be in the form of a minimal, valid URL with the `http://` or `https://`
2210+
prefix, host name, and IP port (if a non-default port is used). Userinfo
2211+
(user ID and password), path, querystring, and fragment details in the
2212+
URL will be ignored.
22092213
* `options` {Object}
22102214
* `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size
22112215
for deflating header fields. **Default:** `4Kib`.

0 commit comments

Comments
 (0)
Please sign in to comment.