WithTLSConfig configures the TLS configuration to be used by the transport.
(c *tls.Config)
| 62 | |
| 63 | // WithTLSConfig configures the TLS configuration to be used by the transport. |
| 64 | func WithTLSConfig(c *tls.Config) Option { |
| 65 | return Option(func(o *httpClientOptions) { |
| 66 | o.tlsConfig = c |
| 67 | }) |
| 68 | } |
| 69 | |
| 70 | // WithTLSConfigOptions configures the TLS configuration options provided to the TLS configuration provider |
| 71 | // by the transport. |
no test coverage detected