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

Method RoundTrip

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

Source from the content-addressed store, hash-verified

210}
211
212func (tr funcTripper) RoundTrip(req *http.Request) (*http.Response, error) {
213 return tr.roundTrip(req)
214}
215
216// getHostname returns the hostname the request is addressed to, preferring an
217// explicit Host override and falling back to the URL host. Any port in the host

Callers 4

AddCacheTTLHeaderFunction · 0.45
AddAuthTokenHeaderFunction · 0.45
ExtractHeaderFunction · 0.45
RoundTripMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected