Skip to main content

ClientRequestArgs

interface ClientRequestArgs

Deno compatibility

Option createConnection is not supported.

Properties Jump to heading

optional
Jump to headingagent:
Agent
| boolean
| undefined
optional
Jump to headingauth:
string
| null
| undefined
optional
Jump to headingcreateConnection: ((
oncreate: (
err: Error | null,
socket: stream.Duplex,
) => void
,
) =>
stream.Duplex
| null
| undefined
) | undefined
optional
Jump to headingdefaultPort:
number
| string
| undefined
optional
Jump to headingfamily: number | undefined
optional
Jump to headinghost:
string
| null
| undefined
optional
Jump to headinghostname:
string
| null
| undefined
optional
Jump to headinginsecureHTTPParser: boolean | undefined
optional
Jump to headinglocalAddress: string | undefined
optional
Jump to headinglocalPort: number | undefined
optional
Jump to headingmaxHeaderSize: number | undefined
optional
Jump to headingmethod: string | undefined
optional
Jump to headingpath:
string
| null
| undefined
optional
Jump to headingport:
number
| string
| null
| undefined
optional
Jump to headingprotocol:
string
| null
| undefined
optional
Jump to headingsetHost: boolean | undefined
optional
Jump to headingsignal: AbortSignal | undefined
optional
Jump to headingsocketPath: string | undefined
optional
Jump to headingtimeout: number | undefined
optional
Jump to headinguniqueHeaders: Array<string | string[]> | undefined
Back to top