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

Method RoundTrip

pkg/cmd/send-telemetry/send_telemetry.go:117–120  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

115}
116
117func (t *userAgentTransport) RoundTrip(req *http.Request) (*http.Response, error) {
118 req.Header.Set("User-Agent", t.userAgent)
119 return t.base.RoundTrip(req)
120}
121
122func handleUnixDomainSocket(socketPath string) http.RoundTripper {
123 if socketPath == "" {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected