Skip to content

httpcli: Separate Doer and Client methods in Factory

Warren Gifford requested to merge core/bimodal-httpcli-factory into master

Created by: tsenart

This commit renames the NewClient method in httpcli.Factory to Doer and introduces a new Client method that returns a concrete *http.Client with all options applied to it but without middleware.

This is to integrate with packages that can't easily be made to work with a Doer interface like the AWS client package.

Merge request reports

Loading