ipfs / ipfs/boxo

pinning/http: Allow caller to supply HTTP client

Open
#385 1 comment 0 reactions 0 assignees View on GitHub
effort/hours help wanted
Dominant language
Go
Stars
316
Forks
163
Avg merge
4d 12h
Merged PRs (30d)
8

Description

I'd like the ability to specify the HTTP client to use. What API do we want? Something like the following?

```
func (c *Client) WithHTTPClient(hc *http.Client) *Client {
c.client.GetConfig().HTTPClient = hc
return c
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.