WithKeepAlivesDisabled allows to disable HTTP keepalive.
()
| 537 | |
| 538 | // WithKeepAlivesDisabled allows to disable HTTP keepalive. |
| 539 | func WithKeepAlivesDisabled() HTTPClientOption { |
| 540 | return httpClientOptionFunc(func(opts *httpClientOptions) { |
| 541 | opts.keepAlivesEnabled = false |
| 542 | }) |
| 543 | } |
| 544 | |
| 545 | // WithHTTP2Disabled allows to disable HTTP2. |
| 546 | func WithHTTP2Disabled() HTTPClientOption { |
nothing calls this directly
no test coverage detected
searching dependent graphs…