Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

Add ability to insert delegating handlers into HttpClient - #23

Merged
mikeparker merged 1 commit into
docker:masterfrom
mikeparker:delegating-handler-support
Oct 22, 2019
Merged

mikeparker merged 1 commit into
docker:masterfrom
mikeparker:delegating-handler-support

Conversation

@mikeparker

Copy link
Copy Markdown
Contributor

Also make a Builder pattern for the HttpClient (as theres a lot of optional parameters now). Add a test logging handler and check it works.

This allows the caller to insert a request / response logger to output timings etc.

Signed-off-by: Mike Parker michael.parker@docker.com

…lder pattern for the HttpClient (as theres a lot of optional parameters now). Add a test logging handler and check it works.

Signed-off-by: Mike Parker <michael.parker@docker.com>

@mat007 mat007 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

@mikeparker
mikeparker merged commit 63f6ed3 into docker:master Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants