| 425 | type DialContextFunc func(context.Context, string, string) (net.Conn, error) |
| 426 | |
| 427 | type httpClientOptions struct { |
| 428 | dialContextFunc DialContextFunc |
| 429 | keepAlivesEnabled bool |
| 430 | http2Enabled bool |
| 431 | idleConnTimeout time.Duration |
| 432 | userAgent string |
| 433 | } |
| 434 | |
| 435 | // HTTPClientOption defines an option that can be applied to the HTTP client. |
| 436 | type HTTPClientOption func(options *httpClientOptions) |
nothing calls this directly
no outgoing calls
no test coverage detected