HTTPClient returns a new *http.Client with a default timeout and a configured transport.
(ctx context.Context, opts ...httpclient.Option)
| 23 | |
| 24 | // HTTPClient returns a new *http.Client with a default timeout and a configured transport. |
| 25 | func (c *Component) HTTPClient(ctx context.Context, opts ...httpclient.Option) (*http.Client, error) { |
| 26 | return httpclient.NewProvider(c).HTTPClient(ctx, opts...) |
| 27 | } |
nothing calls this directly
no test coverage detected