Skip to content

Commit a1c0d46

Browse files
jasnellcodebytere
authored andcommitted
doc: clarify http2.connect authority details
Fixes: #31827 PR-URL: #31828 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Signed-off-by: James M Snell <[email protected]>
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

Lines changed: 5 additions & 1 deletion
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)