HttpConnectorWithCachedAddresses constructor

HttpConnectorWithCachedAddresses({
  1. bool onBadCertificate(
    1. X509Certificate certificate
    )?,
})

Creates an instance of HttpConnectorWithCachedAddresses.

Accepts an optional onBadCertificate callback to handle bad certificates.

Implementation

HttpConnectorWithCachedAddresses({this.onBadCertificate});