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

replaced *http.Client with HTTPClient interface (Do method) #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gstarikov
Copy link

@gstarikov gstarikov commented Aug 8, 2024

Hello. I propose to replace the explicit use of http.Client with an indirect one through the interface (HTTPClient with Do method). This, as example, will allow anybody to implement custom retry logic without having to deal with http.RoundTripper restrictions.

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.

1 participant