MCPcopy Create free account
hub / github.com/imroc/req / GetClient

Method GetClient

client.go:1375–1377  ·  view source on GitHub ↗

GetClient returns the underlying `http.Client`.

()

Source from the content-addressed store, hash-verified

1373
1374// GetClient returns the underlying `http.Client`.
1375func (c *Client) GetClient() *http.Client {
1376 return c.httpClient
1377}
1378
1379func (c *Client) getRetryOption() *retryOption {
1380 if c.retryOption == nil {

Callers 3

TestRedirectFunction · 0.45
GetClientFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestRedirectFunction · 0.36