MCPcopy
hub / github.com/kubernetes/client-go / NewConnection

Method NewConnection

transport/spdy/spdy.go:32–32  ·  view source on GitHub ↗

NewConnection validates the response and creates a new Connection.

(resp *http.Response)

Source from the content-addressed store, hash-verified

30type Upgrader interface {
31 // NewConnection validates the response and creates a new Connection.
32 NewConnection(resp *http.Response) (httpstream.Connection, error)
33}
34
35// RoundTripperFor returns a round tripper and upgrader to use with SPDY.

Callers 1

NegotiateFunction · 0.65

Implementers 1

fakeUpgradeRoundTripperrest/request_test.go

Calls

no outgoing calls

Tested by

no test coverage detected