mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: improve agent.createConnection docs for http and https agents
PR-URL: https://github.com/nodejs/node/pull/58205 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
f72880dbe3
commit
9632c398de
2 files changed
+31
-11
No files matched your search
@@ -61,6 +61,12 @@ changes:
|
||||
An [`Agent`][] object for HTTPS similar to [`http.Agent`][]. See
|
||||
[`https.request()`][] for more information.
|
||||
|
||||
Like `http.Agent`, the `createConnection(options[, callback])` method can be overridden
|
||||
to customize how TLS connections are established.
|
||||
|
||||
> See [`http.Agent#createConnection()`][] for details on overriding this method,
|
||||
> including asynchronous socket creation with a callback.
|
||||
|
||||
### `new Agent([options])`
|
||||
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user