Skip to content

Using alternative rest clients #74

@rocktavious

Description

@rocktavious

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions