withTlsStrategyFactory
open fun withTlsStrategyFactory(tlsStrategyFactory: (SslBundle) -> TlsStrategy): HttpComponentsHttpAsyncClientBuilder
Return a new HttpComponentsHttpAsyncClientBuilder with a replacement TlsStrategy factory.
Return
a new HttpComponentsHttpAsyncClientBuilder instance
Parameters
tlsStrategyFactory
the new factory used to create a TlsStrategy fora given SslBundle