All,

I'm adding websockets support to kubectl for exec and port forwarding.  I have some simple POCs working but am trying to now integrate it into client-go & kubectl and have some questions on how their different protocols are differentiated.    Looking at https://github.com/kubernetes-ui/container-terminal/blob/master/container-terminal.js i see how you're integrating with the terminal resize but I don't see how yuo're telling the api server which of the four protocols to use.  If anyone here has worked on this code and can point me in the right direction I'd really appreciate it.

Thanks

Marc Boorshtein