MCPcopy Index your code
hub / github.com/cli/cli / RoundTrip

Method RoundTrip

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

Source from the content-addressed store, hash-verified

191}
192
193func (tr funcTripper) RoundTrip(req *http.Request) (*http.Response, error) {
194 return tr.roundTrip(req)
195}
196
197func getHost(r *http.Request) string {
198 if r.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