MCPcopy
hub / github.com/cloudfoundry/cli / WrapConnection

Method WrapConnection

api/cfnetworking/cfnetv1/connection_wrapper.go:15–17  ·  view source on GitHub ↗

WrapConnection wraps the current Client connection in the wrapper.

(wrapper ConnectionWrapper)

Source from the content-addressed store, hash-verified

13
14// WrapConnection wraps the current Client connection in the wrapper.
15func (client *Client) WrapConnection(wrapper ConnectionWrapper) {
16 client.connection = wrapper.Wrap(client.connection)
17}

Callers

nothing calls this directly

Calls 1

WrapMethod · 0.65

Tested by

no test coverage detected