Skip to content

Possibility of setting the http client from the caller #17

@mariusor

Description

@mariusor

Hi,

I would like to know if you'd entertain a PR to allow setting the http.Client from outside of the API, either as a member of the WS2Client or as a static variable for the entire module.

My personal need is to inject such a client with support for a http.Transport that obeys request limits.

In the current form this is impossible and my application aborts when the client gets rate limited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions