MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Make

Method Make

api/uaa/wrapper/trace_request.go:24–27  ·  view source on GitHub ↗

Add tracing headers

(request *http.Request, passedResponse *uaa.Response)

Source from the content-addressed store, hash-verified

22
23// Add tracing headers
24func (t *UAATraceHeaderRequest) Make(request *http.Request, passedResponse *uaa.Response) error {
25 t.headers.SetHeaders(request)
26 return t.connection.Make(request, passedResponse)
27}
28
29// Wrap sets the connection in the UAATraceHeaderRequest and returns itself.
30func (t *UAATraceHeaderRequest) Wrap(innerconnection uaa.Connection) uaa.Connection {

Callers

nothing calls this directly

Calls 2

SetHeadersMethod · 0.80
MakeMethod · 0.65

Tested by

no test coverage detected