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

Method initTransport

client.go:1644–1650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1642}
1643
1644func (c *Client) initTransport() {
1645 c.Debugf = func(format string, v ...any) {
1646 if c.DebugLog {
1647 c.log.Debugf(format, v...)
1648 }
1649 }
1650}
1651
1652// RoundTripper is the interface of req's Client.
1653type RoundTripper interface {

Callers 2

CFunction · 0.95
CloneMethod · 0.80

Calls 1

DebugfMethod · 0.65

Tested by

no test coverage detected