| 497 | type NewTLSConfigFunc func(context.Context, *TLSConfig, ...TLSConfigOption) (*tls.Config, error) |
| 498 | |
| 499 | type httpClientOptions struct { |
| 500 | dialContextFunc DialContextFunc |
| 501 | newTLSConfigFunc NewTLSConfigFunc |
| 502 | keepAlivesEnabled bool |
| 503 | http2Enabled bool |
| 504 | idleConnTimeout time.Duration |
| 505 | userAgent string |
| 506 | host string |
| 507 | secretManager SecretManager |
| 508 | } |
| 509 | |
| 510 | // HTTPClientOption defines an option that can be applied to the HTTP client. |
| 511 | type HTTPClientOption interface { |
nothing calls this directly
no outgoing calls
no test coverage detected