Properties
Optional
_defaultAgent
Optional
agent
Optional
auth
auth?: null | string
Optional
createConnection
createConnection?: ((options,
oncreate) => Socket)
Type declaration
-
- (options, oncreate): Socket
-
Parameters
-
-
oncreate: ((err, socket) => void)
-
- (err, socket): void
-
Returns void
Optional
defaultPort
defaultPort?: string | number
Optional
family
family?: number
Optional
headers
Optional
hints
hints?: number
Optional
host
host?: null | string
Optional
hostname
hostname?: null | string
Optional
insecureHTTPParser
insecureHTTPParser?: boolean
Optional
joinDuplicateHeaders
joinDuplicateHeaders?: boolean
Optional
localAddress
localAddress?: string
Optional
localPort
localPort?: number
Optional
lookup
Optional
maxHeaderSize
maxHeaderSize?: number
Optional
method
method?: string
Optional
path
path?: null | string
Optional
port
port?: null | string | number
Optional
protocol
protocol?: null | string
Optional
setHost
setHost?: boolean
Optional
signal
signal?: AbortSignal
Optional
socketPath
socketPath?: string
Optional
timeout
timeout?: number
Optional
uniqueHeaders
uniqueHeaders?: (string | string[])[]
Default