kubernetes/vendor/golang.org/x/net/websocket/server.go

func newServerConn(rwc io.ReadWriteCloser, buf *bufio.ReadWriter, req *http.Request, config *Config, handshake func(*Config, *http.Request) error) (conn *Conn, err error) {}

type Server

// ServeHTTP implements the http.Handler interface for a WebSocket
func (s Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {}

func (s Server) serveWebSocket(w http.ResponseWriter, req *http.Request) {}

type Handler

func checkOrigin(config *Config, req *http.Request) (err error) {}

// ServeHTTP implements the http.Handler interface for a WebSocket
func (h Handler) ServeHTTP(w http.ResponseWriter, req *http.Request) {}