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

Method RoundTrip

api/client_test.go:417–417  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

415type roundTripFunc func(*http.Request) (*http.Response, error)
416
417func (f roundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) { return f(req) }
418
419// redirectFollowingTransport serves the second (redirect-follow) request with a 204 so that the
420// test for the no-option case can complete without a transport error.

Callers 1

RoundTripMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected