Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional ALPNProtocols

ALPNProtocols: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array

Optional NPNProtocols

NPNProtocols: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array

Optional ca

ca: string | Buffer | Array<string | Buffer>

Optional cert

cert: string | Buffer | Array<string | Buffer>

Optional checkServerIdentity

checkServerIdentity: undefined | checkServerIdentity

Optional ciphers

ciphers: undefined | string

Optional clientCertEngine

clientCertEngine: undefined | string

Optional crl

crl: string | Buffer | Array<string | Buffer>

Optional dhparam

dhparam: string | Buffer

Optional ecdhCurve

ecdhCurve: undefined | string

Optional honorCipherOrder

honorCipherOrder: undefined | false | true

Optional host

host: undefined | string

Optional keepAlive

keepAlive: undefined | false | true

Keep sockets around in a pool to be used by other requests in the future. Default = false

Optional keepAliveMsecs

keepAliveMsecs: undefined | number

When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. Only relevant if keepAlive is set to true.

Optional key

key: string | Buffer | Array<Buffer | Object>

Optional lookup

lookup: net.LookupFunction

Optional maxCachedSessions

maxCachedSessions: undefined | number

Optional maxFreeSockets

maxFreeSockets: undefined | number

Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.

Optional maxSockets

maxSockets: undefined | number

Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity

Optional minDHSize

minDHSize: undefined | number

Optional passphrase

passphrase: undefined | string

Optional path

path: undefined | string

Optional pfx

pfx: string | Buffer | Array<string | Buffer | Object>

Optional port

port: undefined | number

Optional rejectUnauthorized

rejectUnauthorized: undefined | false | true

Optional secureContext

secureContext: SecureContext

Optional secureOptions

secureOptions: undefined | number

Optional secureProtocol

secureProtocol: undefined | string

Optional servername

servername: undefined | string

Optional session

session: Buffer

Optional sessionIdContext

sessionIdContext: undefined | string

Optional socket

socket: net.Socket

Optional timeout

timeout: undefined | number

Socket timeout in milliseconds. This will set the timeout after the socket is connected.

Generated using TypeDoc