Skip to content

update config to support custom http client or http.RoundTripper #174

@ecasilla

Description

@ecasilla

I wanted to add request tracing for external calls. But the client library does not support augmenting the http.Client. Would it be possible to
A. Allow the users to send a custom *http.Client with a modified round tripper OR
B. Allow users to Implement the http.RoundTripper interface and send that as part of the config. Then client merges that into the http creation flow.

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