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

Method RoundTrip

pkg/cmd/api/http_test.go:84–86  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

82type roundTripper func(*http.Request) (*http.Response, error)
83
84func (f roundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
85 return f(req)
86}
87
88func Test_httpRequest(t *testing.T) {
89 var tr roundTripper = func(req *http.Request) (*http.Response, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected