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

Using alternative rest clients #74

Open
rocktavious opened this issue Sep 2, 2021 · 0 comments
Open

Using alternative rest clients #74

rocktavious opened this issue Sep 2, 2021 · 0 comments

Comments

@rocktavious
Copy link

Hello,

I was wondering if its possible to use alternative HTTP clients or how much work it would be to support this.

For example i'm looking to add retry & backoff to my graphql client based on top of this library and there are a handful of libraries out there such as https://github.com/go-resty/resty

But it seems like most act as a wrapper ontop of http.Client and there is no way to pass in a https://github.com/go-resty/resty client to be used at the http.Client and retain all functionality for things like retry & backoff.

Am I thinking about this incorrectly and is there a way to solve retry & backoff without using a http.Client wrapper?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant