MCPcopy Create free account
hub / github.com/cli/cli / RoundTrip

Method RoundTrip

api/http_client.go:299–301  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

297}
298
299func (tr funcTripper) RoundTrip(req *http.Request) (*http.Response, error) {
300 return tr.roundTrip(req)
301}
302
303// getHostname returns the hostname the request is addressed to, preferring an
304// explicit Host override and falling back to the URL host. Any port in the host

Callers 4

AddCacheTTLHeaderFunction · 0.45
ExtractHeaderFunction · 0.45
RoundTripMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected