| | |
| | | /** |
| | | * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a |
| | | * separate module. |
| | | * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/https.js) |
| | | */ |
| | | declare module "node:https" { |
| | | import * as http from "node:http"; |
| | | import { Duplex } from "node:stream"; |
| | |
| | | } |
| | | /** |
| | | * An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information. |
| | | * |
| | | * Like `http.Agent`, the `createConnection(options[, callback])` method can be overridden |
| | | * to customize how TLS connections are established. |
| | | * |
| | | * > See `agent.createConnection()` for details on overriding this method, |
| | | * > including asynchronous socket creation with a callback. |
| | | * @since v0.4.5 |
| | | */ |
| | | class Agent extends http.Agent { |