MCPcopy Index your code
hub / github.com/imroc/req / RoundTripper

Interface RoundTripper

client.go:1653–1655  ·  view source on GitHub ↗

RoundTripper is the interface of req's Client.

Source from the content-addressed store, hash-verified

1651
1652// RoundTripper is the interface of req's Client.
1653type RoundTripper interface {
1654 RoundTrip(*Request) (*Response, error)
1655}
1656
1657// RoundTripFunc is a RoundTripper implementation, which is a simple function.
1658type RoundTripFunc func(req *Request) (resp *Response, err error)

Callers 8

RoundTripMethod · 0.65
roundTripAltSvcMethod · 0.65
checkAltSvcMethod · 0.65
roundTripMethod · 0.65
TestWrapRoundTripFunction · 0.65
doMethod · 0.65
SetCommonHeaderOrderMethod · 0.65

Implementers 8

Transporttransport.go
roundTripImplclient.go
Transportinternal/http2/transport.go
ClientConninternal/http2/transport.go
erringRoundTripperinternal/http2/transport.go
noDialH2RoundTripperinternal/http2/transport.go
Transportinternal/http3/transport.go
ClientConninternal/http3/client.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…