Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ClientOptions

Hierarchy

  • ClientOptions

Index

Properties

Optional agent

agent: http.Agent

Optional ca

Optional cert

cert: CertMeta

Optional ciphers

ciphers: undefined | string

Optional family

family: undefined | number

Optional followRedirects

followRedirects: undefined | false | true

Optional handshakeTimeout

handshakeTimeout: undefined | number

Optional headers

headers: undefined | {}

Optional host

host: undefined | string

Optional key

Optional localAddress

localAddress: undefined | string

Optional maxPayload

maxPayload: undefined | number

Optional maxRedirects

maxRedirects: undefined | number

Optional origin

origin: undefined | string

Optional passphrase

passphrase: undefined | string

Optional perMessageDeflate

perMessageDeflate: boolean | PerMessageDeflateOptions

Optional pfx

pfx: string | Buffer

Optional protocol

protocol: undefined | string

Optional protocolVersion

protocolVersion: undefined | number

Optional rejectUnauthorized

rejectUnauthorized: undefined | false | true

Methods

Optional checkServerIdentity

  • checkServerIdentity(servername: string, cert: CertMeta): boolean
  • Parameters

    Returns boolean

Generated using TypeDoc