Skip to content

[Feature Request] make the underlying http.Client replaceable #96

@ricklxm

Description

@ricklxm

Is your feature request related to a problem? Please describe.
In my scenario, I need to replace the underlying http.Client used by the sdk with my company customized http.Client (for emitting mertics, using our company's http mesh, etc).

Describe the solution you'd like
There is a similar feature in aws's sdk here:

// WithHTTPClient sets a config HTTPClient value returning a Config pointer
// for chaining.
func (c *Config) WithHTTPClient(client *http.Client) *Config {
	c.HTTPClient = client
	return c
}

Describe alternatives you've considered
NA

Additional context
NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions