...

Package websocket

import "k8s.io/kubernetes/test/e2e/framework/websocket"
Overview
Index

Overview ▾

func OpenWebSocketForURL

func OpenWebSocketForURL(url *url.URL, config *restclient.Config, protocols []string) (*websocket.Conn, error)

OpenWebSocketForURL constructs a websocket connection to the provided URL, using the client config, with the specified protocols.