Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the API client's httpClient more pluggable #2926

Merged
merged 1 commit into from
Apr 18, 2017
Merged

Conversation

kyhavlov
Copy link
Contributor

Fixes #2922, adds a NewHttpClient function for generating an http client with TLS options.

@kyhavlov kyhavlov changed the title Only modify the TLS config if a custom http client isn't provided Make the API client's httpClient more pluggable Apr 18, 2017
@slackpad
Copy link
Contributor

LGTM - this will let the client and/or transport get hooked as requested, and seems layered in a clean way.

@kyhavlov kyhavlov merged commit c6d0b4c into master Apr 18, 2017
@kyhavlov kyhavlov deleted the custom-httpclient branch April 18, 2017 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants