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

Method RoundTrip

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

Source from the content-addressed store, hash-verified

324}
325
326func (tr funcTripper) RoundTrip(req *http.Request) (*http.Response, error) {
327 return tr.roundTrip(req)
328}
329
330// getHostname returns the hostname the request is addressed to, preferring an
331// explicit Host override and falling back to the URL host. Any port in the host

Callers 5

addCacheStatusesHeaderFunction · 0.45
AddCacheTTLHeaderFunction · 0.45
ExtractHeaderFunction · 0.45
RoundTripMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected