HTTPClientOption defines an option that can be applied to the HTTP client.
func(options *httpClientOptions)
| 434 | |
| 435 | // HTTPClientOption defines an option that can be applied to the HTTP client. |
| 436 | type HTTPClientOption func(options *httpClientOptions) |
| 437 | |
| 438 | // WithDialContextFunc allows you to override func gets used for the actual dialing. The default is `net.Dialer.DialContext`. |
| 439 | func WithDialContextFunc(fn DialContextFunc) HTTPClientOption { |
nothing calls this directly
no outgoing calls
no test coverage detected