Skip to main content
ClientRequestArgs.createConnection - http - Node documentation
property ClientRequestArgs.createConnection

Usage in Deno

import { type ClientRequestArgs } from "node:http";

Type

((
oncreate: (
err: Error | null,
socket: stream.Duplex,
) => void
,
) =>
stream.Duplex
| null
| undefined
) | undefined