WithHTTP2Disabled allows to disable HTTP2.
()
| 544 | |
| 545 | // WithHTTP2Disabled allows to disable HTTP2. |
| 546 | func WithHTTP2Disabled() HTTPClientOption { |
| 547 | return httpClientOptionFunc(func(opts *httpClientOptions) { |
| 548 | opts.http2Enabled = false |
| 549 | }) |
| 550 | } |
| 551 | |
| 552 | // WithIdleConnTimeout allows setting the idle connection timeout. |
| 553 | func WithIdleConnTimeout(timeout time.Duration) HTTPClientOption { |
nothing calls this directly
no test coverage detected
searching dependent graphs…