| 1 | package transportscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/ |
| 2 | |
| 3 | import "net/httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/" |
| 4 | |
| 5 | type RoundTripperscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/RoundTripper# interface { |
| 6 | // RoundTrip executes a single HTTP transaction, returning |
| 7 | // the Response for the request req. RoundTrip should not |
| 8 | // attempt to interpret the response. In particular, |
| 9 | // RoundTrip must return err == nil if it obtained a response, |
| 10 | // regardless of the response's HTTP status code. A non-nil |
| 11 | // err should be reserved for failure to obtain a response. |
| 12 | // Similarly, RoundTrip should not attempt to handle |
| 13 | // higher-level protocol details such as redirects, |
| 14 | // authentication, or cookies. |
| 15 | // |
| 16 | // RoundTrip should not modify the request, except for |
| 17 | // consuming the Body. The request's URL and Header fields |
| 18 | // are guaranteed to be initialized. |
| 19 | RoundTripscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/RoundTripper#RoundTrip.(*httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/.Requestscip-go gomod github.com/golang/go/src go1.18 `net/http`/Request#) (*httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/.Responsescip-go gomod github.com/golang/go/src go1.18 `net/http`/Response#, error) |
| 20 | DetailedRoundTripscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/RoundTripper#DetailedRoundTrip.(*httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/.Requestscip-go gomod github.com/golang/go/src go1.18 `net/http`/Request#) (*RoundTripDetailsscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/RoundTripDetails#, *httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/.Responsescip-go gomod github.com/golang/go/src go1.18 `net/http`/Response#, error) |
| 21 | } |