helpful-beard-54962
11/23/2022, 8:21 AMfull-painter-23916
11/23/2022, 8:45 AMR_SESS
cookie for the UI… It could be via the Authorization
header too as far as the API actually cares, but the browser WebSocket clients can't set arbitrary headers.
Then the frames are vanilla kubernetes, the first character is a number denoting stdin (0, you send), stdout (1) or stderr (2) and the rest is the message.
(There's also a 4
for resizing the terminal)
https://github.com/rancher/dashboard/blob/master/shell/components/nav/WindowManager/ContainerShell.vue