kubernetes/test/e2e/framework/websocket/websocket_util.go

type extractRT

func (rt *extractRT) RoundTrip(req *http.Request) (*http.Response, error) {}

// OpenWebSocketForURL constructs a websocket connection to the provided URL, using the client
// config, with the specified protocols.
func OpenWebSocketForURL(url *url.URL, config *restclient.Config, protocols []string) (*websocket.Conn, error) {}

// headersForConfig extracts any http client logic necessary for the provided
// config.
func headersForConfig(c *restclient.Config, url *url.URL) (http.Header, error) {}