WithCache enables caching at transport level.
(b bool)
| 55 | |
| 56 | // WithCache enables caching at transport level. |
| 57 | func WithCache(b bool) Option { |
| 58 | return Option(func(o *httpClientOptions) { |
| 59 | o.cache = true |
| 60 | }) |
| 61 | } |
| 62 | |
| 63 | // WithTLSConfig configures the TLS configuration to be used by the transport. |
| 64 | func WithTLSConfig(c *tls.Config) Option { |