WithHTTP2Disabled allows to disable HTTP2.
()
| 451 | |
| 452 | // WithHTTP2Disabled allows to disable HTTP2. |
| 453 | func WithHTTP2Disabled() HTTPClientOption { |
| 454 | return func(opts *httpClientOptions) { |
| 455 | opts.http2Enabled = false |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | // WithIdleConnTimeout allows setting the idle connection timeout. |
| 460 | func WithIdleConnTimeout(timeout time.Duration) HTTPClientOption { |
nothing calls this directly
no outgoing calls
no test coverage detected