| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| * `createConnection` {Function} An optional callback that receives the `URL` | ||
| instance passed to `connect` and the `options` object, and returns any | ||
| [`Duplex`][] stream that is to be used as the connection for this session. | ||
| * ...: Any [`net.connect()`][] or [`tls.connect()`][] options can be provided. |
There was a problem hiding this comment.
Can you add backticks to the ....
Sorry, something went wrong.
There was a problem hiding this comment.
The current version matches doc/api/tls.md where it's used like this 3 times. (Also one other place in the http2 doc.)
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
I assume this doesn't need 48 hours but please speak up if you disagree. Will be merging within the next hour. |
Sorry, something went wrong.
There was a problem hiding this comment.
+1 for not waiting the 48 hours
Sorry, something went wrong.
PR-URL: nodejs/node#16576 Fixes: nodejs/node#15405 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs/node#16576 Fixes: nodejs/node#15405 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs/node#16576 Fixes: nodejs/node#15405 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
Makes it clear that http2.connect can accept all the same options as net.connect and tls.connect since there seems to be some confusion around this.
Fixes: #15405
Checklist
Affected core subsystem(s)
doc