interface ClientRequestArgs
Usage in Deno
import { type ClientRequestArgs } from "node:http";
optional
_defaultAgent: Agent | undefined
optional
auth: string
| null
| undefined
optional
createConnection: ((options: ClientRequestArgs,oncreate: (err: Error | null,socket: stream.Duplex,) => void,) => stream.Duplex
| null
| undefined) | undefined
optional
defaultPort: number
| string
| undefined
optional
family: number | undefined
optional
headers: OutgoingHttpHeaders | undefined
optional
hints: LookupOptions["hints"]
optional
host: string
| null
| undefined
optional
hostname: string
| null
| undefined
optional
insecureHTTPParser: boolean | undefined
optional
localAddress: string | undefined
optional
localPort: number | undefined
optional
lookup: LookupFunction | undefined
optional
maxHeaderSize: number | undefined
optional
method: string | undefined
optional
path: string
| null
| undefined
optional
port: number
| string
| null
| undefined
optional
protocol: string
| null
| undefined
optional
setHost: boolean | undefined
optional
signal: AbortSignal | undefined
optional
socketPath: string | undefined
optional
timeout: number | undefined
optional
uniqueHeaders: Array<string | string[]> | undefined
optional
joinDuplicateHeaders: boolean