Additional parameters to pass to the Node HTTPS API for secure requests. These can include any of the TLS-related parameters supported by https.request(), such as ca, cert, and key.

For more information, see the Node documentation for https.request() and tls.connect().

Hierarchy

  • LDTLSOptions

Properties

ca?: string | string[] | Buffer | Buffer[]
cert?: string | string[] | Buffer | Buffer[]
checkServerIdentity?: ((servername, cert) => undefined | Error)

Type declaration

    • (servername, cert): undefined | Error
    • Parameters

      • servername: string
      • cert: any

      Returns undefined | Error

ciphers?: string
key?: string | string[] | object[] | Buffer | Buffer[]
passphrase?: string
pfx?: string | string[] | object[] | Buffer | Buffer[]
rejectUnauthorized?: boolean
secureProtocol?: string
servername?: string

Generated using TypeDoc