pub fn https_transport(
connect_timeout: Duration,
read_timeout: Duration,
) -> Result<impl HttpTransport, Error>Expand description
Builds a LaunchDarkly HttpTransport whose TLS runs on the aws-lc-rs rustls provider,
trusting the platform’s native root certificates.
Use this instead of HyperTransport::builder().build_https(), which hardcodes the ring
provider. Like build_https, the connector also accepts plain http URIs, which a relay
proxy or test mock may use.
NOTE: HyperTransport still honors HTTP_PROXY/HTTPS_PROXY/NO_PROXY, but only for
proxies reached over plain HTTP. TLS to the proxy itself requires a transport crate feature
that would pull ring back in.