Home | History | Annotate | Download | only in http

Lines Matching defs:RoundTrip

315 // RoundTrip implements the RoundTripper interface.
319 func (t *Transport) RoundTrip(req *Request) (*Response, error) {
349 if resp, err := altRT.RoundTrip(req); err != ErrSkipAltProtocol {
366 // treq gets modified by roundTrip, so we need to recreate for each retry.
389 resp, err = pconn.alt.RoundTrip(req)
391 resp, err = pconn.roundTrip(treq)
410 // error from roundTrip.
467 // If rt.RoundTrip returns ErrSkipAltProtocol, the Transport will
468 // handle the RoundTrip itself for that one request, as if the
509 // CancelRequest should only be called after RoundTrip has returned.
626 // them to return from Transport.RoundTrip.
878 // we enter roundTrip
1272 reqch chan requestAndChan // written by roundTrip; read by readLoop
1273 writech chan writeRequest // written by roundTrip; read by writeLoop
1298 // original Request given to RoundTrip is not modified)
1383 // the error value that should be returned from persistConn.roundTrip.
1385 // The startBytesWritten value should be the value of pc.nwrite before the roundTrip
1410 // up to Transport.RoundTrip method when persistConn.roundTrip sees
1501 // roundTrip goroutine), mark it as done now.
1538 // to guarantee that persistConn.roundTrip got out of its select
1718 wr.ch <- err // to the roundTrip function
1758 // communicates with the goroutine doing the RoundTrip.
1779 callerGone <-chan struct{} // closed when roundTrip caller has returned
1823 func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err error) {